mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Set standalone to load Xwindows
This commit is contained in:
@@ -95,10 +95,7 @@ if [[ $is_analyst ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
whiptail_analyst_install
|
||||
echo "$AWORK"
|
||||
|
||||
if [[ $AWORK != "Join" ]]; then
|
||||
if ! whiptail_analyst_install; then
|
||||
# Lets make this a standalone
|
||||
echo "Enabling X Windows and setting it to load at boot"
|
||||
systemctl set-default graphical.target
|
||||
|
||||
@@ -41,12 +41,13 @@ whiptail_analyst_install() {
|
||||
|
||||
Welcome to the Security Onion Analyst Workstation install!
|
||||
|
||||
You can choose to join this workstation to an existing grid for managemnt or make it standalone.
|
||||
You can choose to join this workstation to an existing grid?
|
||||
|
||||
NOTE: Selecting "no" will enable X Windows and set it to load at boot.
|
||||
EOM
|
||||
echo "whiptail"
|
||||
AWORK=$(whiptail --title "$whiptail_title" \
|
||||
--yesno "$message" 11 75 \
|
||||
--yes-button "Join" --no-button "Standalone" --defaultno 3>&1 1>&2 2>&3 )
|
||||
whiptail --title "$whiptail_title" \
|
||||
--yesno "$message" 11 75 --defaultno
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user