Add logic to determine if setup succeeded and provide relevant output

This commit is contained in:
Jason Ertel
2023-01-19 10:03:03 -05:00
parent 1bf088e976
commit 05a6d702b0
3 changed files with 113 additions and 19 deletions

View File

@@ -585,7 +585,7 @@ if ! [[ -f $install_opt_file ]]; then
fi
checkin_at_boot
set_initial_firewall_access
whiptail_setup_complete
verify_setup $setup_type
else
touch /root/accept_changes
mkdir -p /opt/so
@@ -608,7 +608,7 @@ if ! [[ -f $install_opt_file ]]; then
configure_minion "$minion_type"
drop_install_options
checkin_at_boot
whiptail_setup_complete
verify_setup $setup_type
fi
# Need to make sure the latest install is located on the web server of the manager to check the versions and donwload the code if required