mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-05-01 17:07:50 +02:00
[fix] Don't change settings during whiptail menus on ISO
This commit is contained in:
+9
-6
@@ -116,13 +116,7 @@ case "$setup_type" in
|
||||
whiptail_management_interface_dns_search
|
||||
fi
|
||||
|
||||
# Init networking so rest of install works
|
||||
set_hostname_iso
|
||||
set_management_interface
|
||||
|
||||
collect_adminuser_inputs
|
||||
add_admin_user
|
||||
disable_onion_user
|
||||
;;
|
||||
'network')
|
||||
whiptail_network_notice
|
||||
@@ -247,6 +241,15 @@ fi
|
||||
|
||||
whiptail_make_changes
|
||||
|
||||
if [[ "$setup_type" == 'iso' ]]; then
|
||||
# Init networking so rest of install works
|
||||
set_hostname_iso
|
||||
set_management_interface
|
||||
|
||||
add_admin_user
|
||||
disable_onion_user
|
||||
fi
|
||||
|
||||
set_hostname 2>> "$setup_log"
|
||||
set_version 2>> "$setup_log"
|
||||
clear_master 2>> "$setup_log"
|
||||
|
||||
Reference in New Issue
Block a user