mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
[fix] Don't preset HOSTNAME var, interferes with automation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user