Add more whiptail menus

This commit is contained in:
Mike Reeves
2022-04-11 14:51:17 -04:00
parent 0b2745b342
commit f9633e7287
3 changed files with 51 additions and 8 deletions

View File

@@ -101,13 +101,22 @@ if [[ $is_analyst ]]; then
if ! whiptail_analyst_install; then
if [[ $is_analyst_iso ]]; then
# Lets make this a standalone
echo "Enabling graphical interface and setting it to load at boot"
systemctl set-default graphical.target
startx
exit 0
if whiptail_analyst_nongrid_iso; then
echo "Enabling graphical interface and setting it to load at boot"
systemctl set-default graphical.target
startx
exit 0
else
# Abort!
exit 0
fi
else
analyst_salt_local
if whiptail_analyst_nongrid_network; then
analyst_salt_local
else
# Abort!
exit 0
fi
fi
fi