mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-03 03:12:04 +02: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