Setup Script - Add entry to hosts file

This commit is contained in:
Mike Reeves
2019-03-13 14:36:12 -04:00
parent 924b061b50
commit 7bc9085001

View File

@@ -410,6 +410,12 @@ es_heapsize() {
}
eval_mode_hostsfile() {
echo "127.0.0.1 $HOSTNAME" >> /etc/hosts
}
filter_nics() {
# Filter the NICs that we don't want to see in setup
@@ -1711,6 +1717,7 @@ if (whiptail_you_sure); then
BROVERSION=ZEEK
CURCLOSEDAYS=30
whiptail_make_changes
eval_mode_hostsfile
generate_passwords
auth_pillar
clear_master