[fix] Don't preset HOSTNAME var, interferes with automation

This commit is contained in:
William Wernert committed 2021-01-15 16:22:07 -05:00
1 parent 432d231a0e
commit 8cb836a17a
2 files changed
+3 -3

No files matched your search

-3
View File
@@ -501,9 +501,6 @@ collect_homenet_snsr() {
}
collect_hostname() {
HOSTNAME=$(cat /etc/hostname)
if [[ "$HOSTNAME" == *'localhost'* ]]; then HOSTNAME=securityonion; fi
whiptail_set_hostname
while ! valid_hostname "$HOSTNAME"; do