Increment VERSION for dev to 2.1.0-rc.2; Add more logging to troubleshoot automated setup not initiating post-installation steps

This commit is contained in:
Jason Ertel
2020-07-20 17:37:46 -04:00
parent a891fed1be
commit e881f4c92b
2 changed files with 8 additions and 1 deletions

View File

@@ -1 +1 @@
2.0.0-rc.1 2.1.0-rc.2

View File

@@ -632,6 +632,12 @@ if [[ -n $SO_ERROR ]]; then
SKIP_REBOOT=1 SKIP_REBOOT=1
whiptail_setup_failed whiptail_setup_failed
else else
echo "Successfully completed setup! Continuing with post-installation steps" >> $setup_log 2>&1
echo "automated=$automated" >> $setup_log 2>&1
echo "ALLOW_ROLE=$ALLOW_ROLE" >> $setup_log 2>&1
echo "ALLOW_CIDR=$ALLOW_CIDR" >> $setup_log 2>&1
echo "THEHIVE=$THEHIVE" >> $setup_log 2>&1
{ {
export percentage=95 # set to last percentage used in previous subshell export percentage=95 # set to last percentage used in previous subshell
if [[ -n $ALLOW_ROLE && -n $ALLOW_CIDR ]]; then if [[ -n $ALLOW_ROLE && -n $ALLOW_CIDR ]]; then
@@ -645,6 +651,7 @@ else
} | whiptail_gauge_post_setup "Running post-installation steps..." } | whiptail_gauge_post_setup "Running post-installation steps..."
whiptail_setup_complete whiptail_setup_complete
echo "Post-installation steps have completed." >> $setup_log 2>&1
fi fi
install_cleanup >> $setup_log 2>&1 install_cleanup >> $setup_log 2>&1