mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +01:00
Ask for hostname earlier in setup
This commit is contained in:
@@ -1758,7 +1758,6 @@ network_init() {
|
||||
network_init_whiptail() {
|
||||
case "$setup_type" in
|
||||
'iso')
|
||||
collect_hostname
|
||||
whiptail_management_nic
|
||||
whiptail_dhcp_or_static
|
||||
|
||||
@@ -1772,7 +1771,6 @@ network_init_whiptail() {
|
||||
'network')
|
||||
whiptail_network_notice
|
||||
whiptail_dhcp_warn
|
||||
collect_hostname
|
||||
whiptail_management_nic
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -204,6 +204,7 @@ if ! [[ -f $install_opt_file ]]; then
|
||||
if [[ $setup_type == 'iso' ]] && [ "$automated" == no ]; then
|
||||
whiptail_first_menu_iso
|
||||
if [[ $option == "CONFIGURENETWORK" ]]; then
|
||||
collect_hostname
|
||||
network_init_whiptail
|
||||
whiptail_management_interface_setup
|
||||
network_init
|
||||
@@ -216,7 +217,8 @@ if ! [[ -f $install_opt_file ]]; then
|
||||
else
|
||||
true
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
collect_hostname
|
||||
whiptail_install_type
|
||||
else
|
||||
source $install_opt_file
|
||||
|
||||
Reference in New Issue
Block a user