Setup - Fix log location

This commit is contained in:
Mike Reeves
2019-04-09 11:28:52 -04:00
parent 5c82ce29cb
commit 58eeed1d71

View File

@@ -1895,7 +1895,7 @@ if (whiptail_you_sure); then
salt-call state.highstate >>~/sosetup.log 2>&1 salt-call state.highstate >>~/sosetup.log 2>&1
} |whiptail --title "Hybrid Hunter Install" --gauge "Please wait while installing" 6 60 0 } |whiptail --title "Hybrid Hunter Install" --gauge "Please wait while installing" 6 60 0
GOODSETUP=$(tail -10 sosetup.log | grep Failed | awk '{ print $2}') GOODSETUP=$(tail -10 /root/sosetup.log | grep Failed | awk '{ print $2}')
if [ $OS == 'centos' ]; then if [ $OS == 'centos' ]; then
if [[ $GOODSETUP == '1' ]]; then if [[ $GOODSETUP == '1' ]]; then
whiptail_setup_complete whiptail_setup_complete