add desktop to grid

This commit is contained in:
m0duspwnens
2023-08-23 15:24:32 -04:00
parent f278056493
commit a885baf960
2 changed files with 17 additions and 9 deletions

View File

@@ -333,7 +333,7 @@ if [[ $is_desktop ]]; then
exit 1
fi
# if ! whiptail_desktop_install; then
if ! whiptail_desktop_install; then
if [[ $is_desktop_iso ]]; then
if whiptail_desktop_nongrid_iso; then
# Remove setup from auto launching
@@ -365,7 +365,7 @@ if [[ $is_desktop ]]; then
exit 0
fi
fi
# fi
fi
# If you got this far then you want to join the grid
is_minion=true
@@ -574,6 +574,17 @@ if ! [[ -f $install_opt_file ]]; then
check_manager_connection
set_minion_info
whiptail_end_settings
elif [[ $is_desktop ]]; then
info "Setting up as node type desktop"
#check_requirements "desktop"
networking_needful
collect_mngr_hostname
add_mngr_ip_to_hosts
check_manager_connection
set_minion_info
whiptail_end_settings
fi
if [[ $waitforstate ]]; then