mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Setup Script - Add entry to hosts file
This commit is contained in:
@@ -410,6 +410,12 @@ es_heapsize() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
eval_mode_hostsfile() {
|
||||||
|
|
||||||
|
echo "127.0.0.1 $HOSTNAME" >> /etc/hosts
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
filter_nics() {
|
filter_nics() {
|
||||||
|
|
||||||
# Filter the NICs that we don't want to see in setup
|
# Filter the NICs that we don't want to see in setup
|
||||||
@@ -1711,6 +1717,7 @@ if (whiptail_you_sure); then
|
|||||||
BROVERSION=ZEEK
|
BROVERSION=ZEEK
|
||||||
CURCLOSEDAYS=30
|
CURCLOSEDAYS=30
|
||||||
whiptail_make_changes
|
whiptail_make_changes
|
||||||
|
eval_mode_hostsfile
|
||||||
generate_passwords
|
generate_passwords
|
||||||
auth_pillar
|
auth_pillar
|
||||||
clear_master
|
clear_master
|
||||||
|
|||||||
Reference in New Issue
Block a user