mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
QOL change, populate hostname instead of localhost in set hostname dialog box - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/92
This commit is contained in:
@@ -1487,7 +1487,7 @@ whiptail_sensor_config() {
|
|||||||
whiptail_set_hostname() {
|
whiptail_set_hostname() {
|
||||||
|
|
||||||
HOSTNAME=$(whiptail --title "Security Onion Setup" --inputbox \
|
HOSTNAME=$(whiptail --title "Security Onion Setup" --inputbox \
|
||||||
"Enter the Hostname you would like to set." 10 60 localhost 3>&1 1>&2 2>&3)
|
"Enter the Hostname you would like to set." 10 60 $HOSTNAME 3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
local exitstatus=$?
|
local exitstatus=$?
|
||||||
whiptail_check_exitstatus $exitstatus
|
whiptail_check_exitstatus $exitstatus
|
||||||
|
|||||||
Reference in New Issue
Block a user