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:
@@ -97,7 +97,13 @@ if [[ $is_analyst ]]; then
|
||||
|
||||
whiptail_analyst_install
|
||||
|
||||
if [[ $AWORK != "Join" ]]; then
|
||||
# Lets make this a standalone
|
||||
echo "Enabling X Windows and setting it to load at boot"
|
||||
systemctl set-default graphical.target
|
||||
startx
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# If you got this far then you want to join the grid
|
||||
is_minion=true
|
||||
|
||||
@@ -44,9 +44,9 @@ whiptail_analyst_install() {
|
||||
You can choose to join this workstation to an existing grid for managemnt or make it standalone.
|
||||
EOM
|
||||
|
||||
whiptail --title "$whiptail_title" \
|
||||
AWORK=$(whiptail --title "$whiptail_title" \
|
||||
--yesno "$message" 11 75 \
|
||||
--yes-button "Join" --no-button "Standalone" --defaultno
|
||||
--yes-button "Join" --no-button "Standalone" --defaultno)
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user