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() {
|
network_init_whiptail() {
|
||||||
case "$setup_type" in
|
case "$setup_type" in
|
||||||
'iso')
|
'iso')
|
||||||
collect_hostname
|
|
||||||
whiptail_management_nic
|
whiptail_management_nic
|
||||||
whiptail_dhcp_or_static
|
whiptail_dhcp_or_static
|
||||||
|
|
||||||
@@ -1772,7 +1771,6 @@ network_init_whiptail() {
|
|||||||
'network')
|
'network')
|
||||||
whiptail_network_notice
|
whiptail_network_notice
|
||||||
whiptail_dhcp_warn
|
whiptail_dhcp_warn
|
||||||
collect_hostname
|
|
||||||
whiptail_management_nic
|
whiptail_management_nic
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
@@ -204,6 +204,7 @@ if ! [[ -f $install_opt_file ]]; then
|
|||||||
if [[ $setup_type == 'iso' ]] && [ "$automated" == no ]; then
|
if [[ $setup_type == 'iso' ]] && [ "$automated" == no ]; then
|
||||||
whiptail_first_menu_iso
|
whiptail_first_menu_iso
|
||||||
if [[ $option == "CONFIGURENETWORK" ]]; then
|
if [[ $option == "CONFIGURENETWORK" ]]; then
|
||||||
|
collect_hostname
|
||||||
network_init_whiptail
|
network_init_whiptail
|
||||||
whiptail_management_interface_setup
|
whiptail_management_interface_setup
|
||||||
network_init
|
network_init
|
||||||
@@ -216,7 +217,8 @@ if ! [[ -f $install_opt_file ]]; then
|
|||||||
else
|
else
|
||||||
true
|
true
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
collect_hostname
|
||||||
whiptail_install_type
|
whiptail_install_type
|
||||||
else
|
else
|
||||||
source $install_opt_file
|
source $install_opt_file
|
||||||
|
|||||||
Reference in New Issue
Block a user