Closed weslambert closed 3 years ago
securityonion-setup - 20120912-0ubuntu0securityonion330
is now ready for testing at ppa:securityonion/test
.
Tested the following automated install answer files: sosetup.conf, sosetup-forward.conf, sosetup-master.conf, and sosetup-storage.conf. All were done using sosetup -f
and in each test the HOSTNAME
set on the test box remained after setup and was not changed to localhost
by NEWHOSTNAME
.
Thanks @cm-ops !
An empty hostname is being set when running
sosetup
viasosetup -f
. This is because theNEWHOSTNAME
value is null. This causes the box to ultimately be renamed by Ubuntu tolocalhost
. Setting theNEWHOSTNAME
value as the hostname in the answerfile can be done as a workaround, however,sosetup-network
's logic should be modified to allow automated installs.https://github.com/Security-Onion-Solutions/securityonion-setup/blob/master/bin/sosetup-network#L63-L90