mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Add end of setup log messages per #5032
This commit is contained in:
@@ -1537,6 +1537,10 @@ install_cleanup() {
|
|||||||
info "Removing so-setup permission entry from sudoers file"
|
info "Removing so-setup permission entry from sudoers file"
|
||||||
sed -i '/so-setup/d' /etc/sudoers
|
sed -i '/so-setup/d' /etc/sudoers
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z $SO_ERROR ]]; then
|
||||||
|
echo "Setup completed at $(date)" >> "$setup_log" 2>&1
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
import_registry_docker() {
|
import_registry_docker() {
|
||||||
|
|||||||
@@ -935,7 +935,6 @@ 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 "Successfully completed setup! Continuing with post-installation steps" >> $setup_log 2>&1
|
||||||
{
|
{
|
||||||
@@ -965,9 +964,9 @@ else
|
|||||||
|
|
||||||
} | whiptail_gauge_post_setup "Running post-installation steps..."
|
} | whiptail_gauge_post_setup "Running post-installation steps..."
|
||||||
|
|
||||||
|
echo "Post-installation steps have completed. Awaiting user input to clean up installer." >> $setup_log 2>&1
|
||||||
whiptail_setup_complete
|
whiptail_setup_complete
|
||||||
[[ $setup_type != 'iso' ]] && whitpail_ssh_warning
|
[[ $setup_type != 'iso' ]] && whitpail_ssh_warning
|
||||||
echo "Post-installation steps have completed." >> $setup_log 2>&1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install_cleanup >> "$setup_log" 2>&1
|
install_cleanup >> "$setup_log" 2>&1
|
||||||
|
|||||||
Reference in New Issue
Block a user