mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-30 08:28:18 +02:00
Setup Script - adjust timeout for minion
This commit is contained in:
+2
-2
@@ -532,7 +532,7 @@ salt_checkin() {
|
|||||||
service salt-master restart
|
service salt-master restart
|
||||||
sleep 5
|
sleep 5
|
||||||
service salt-minion restart
|
service salt-minion restart
|
||||||
sleep 5
|
sleep 15
|
||||||
echo " Applyng a mine hack "
|
echo " Applyng a mine hack "
|
||||||
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 "
|
||||||
@@ -697,7 +697,7 @@ update_sudoers() {
|
|||||||
echo "socore ALL=(ALL) NOPASSWD:/usr/bin/salt-key" | sudo tee -a /etc/sudoers
|
echo "socore ALL=(ALL) NOPASSWD:/usr/bin/salt-key" | sudo tee -a /etc/sudoers
|
||||||
echo "socore ALL=(ALL) NOPASSWD:/opt/so/saltstack/pillar/firewall/addfirewall.sh" | sudo tee -a /etc/sudoers
|
echo "socore ALL=(ALL) NOPASSWD:/opt/so/saltstack/pillar/firewall/addfirewall.sh" | sudo tee -a /etc/sudoers
|
||||||
echo "socore ALL=(ALL) NOPASSWD:/opt/so/saltstack/pillar/data/addtotab.sh" | sudo tee -a /etc/sudoers
|
echo "socore ALL=(ALL) NOPASSWD:/opt/so/saltstack/pillar/data/addtotab.sh" | sudo tee -a /etc/sudoers
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
|
|||||||
Reference in New Issue
Block a user