[fix] Set hostname correctly so salt picks it up before reboot

This commit is contained in:
William Wernert
2020-05-13 16:15:41 -04:00
parent 5623f2e9a4
commit 8c8e0bf0e4
2 changed files with 6 additions and 6 deletions

View File

@@ -905,6 +905,8 @@ whiptail_set_hostname() {
[ -n "$TESTING" ] && return
HOSTNAME=$(cat /etc/hostname)
HOSTNAME=$(whiptail --title "Security Onion Setup" --inputbox \
"Enter the Hostname you would like to set." 10 75 "$HOSTNAME" 3>&1 1>&2 2>&3)