mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 18:22:47 +01:00
Setup Script - Fix Host File
This commit is contained in:
@@ -45,7 +45,7 @@ add_master_hostfile() {
|
|||||||
"Enter your Master Server IP Address" 10 60 X.X.X.X 3>&1 1>&2 2>&3)
|
"Enter your Master Server IP Address" 10 60 X.X.X.X 3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
# Add the master to the host file if it doesn't resolve
|
# Add the master to the host file if it doesn't resolve
|
||||||
echo "$MSRV $MSRVIP" >> /etc/hosts
|
echo "$MSRVIP $MSRV" >> /etc/hosts
|
||||||
}
|
}
|
||||||
|
|
||||||
add_socore_user_master() {
|
add_socore_user_master() {
|
||||||
@@ -537,7 +537,7 @@ salt_checkin() {
|
|||||||
sudo salt '*' mine.send x509.get_pem_entries glob_path=/etc/pki/ca.crt
|
sudo salt '*' mine.send x509.get_pem_entries glob_path=/etc/pki/ca.crt
|
||||||
echo " Applying SSL state "
|
echo " Applying SSL state "
|
||||||
salt-call state.apply ssl
|
salt-call state.apply ssl
|
||||||
echo " Oh run the rest of the checkin "
|
echo "Still Working... Hang in there"
|
||||||
salt-call state.highstate
|
salt-call state.highstate
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user