hyper setup init

This commit is contained in:
m0duspwnens
2024-07-31 15:49:32 -04:00
parent 810be2c9d2
commit 52e52f35f7
4 changed files with 29 additions and 0 deletions

View File

@@ -624,6 +624,16 @@ if ! [[ -f $install_opt_file ]]; then
set_minion_info
whiptail_end_settings
elif [[ $is_hypervisor ]]; then
info "Setting up as node type hypervisor"
check_requirements
networking_needful
collect_mngr_hostname
add_mngr_ip_to_hosts
check_manager_connection
set_minion_info
whiptail_end_settings
fi
if [[ $waitforstate ]]; then

View File

@@ -681,6 +681,7 @@ whiptail_install_type_dist_existing() {
"HEAVYNODE" "Sensor + Search Node " \
"IDH" "Intrusion Detection Honeypot Node " \
"RECEIVER" "Receiver Node " \
"HYPERVISOR" "Hypervisor Node " \
3>&1 1>&2 2>&3
# "HOTNODE" "Add Hot Node (Uses Elastic Clustering)" \ # TODO
# "WARMNODE" "Add Warm Node to existing Hot or Search node" \ # TODO
@@ -713,6 +714,8 @@ whiptail_install_type_dist_existing() {
is_receiver=true
elif [ "$install_type" = 'DESKTOP' ]; then
is_desktop=true
elif [ "$install_type" = 'HYPERVISOR' ]; then
is_hypervisor=true
fi
local exitstatus=$?