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