Setup Script - Actually run the addtotab

This commit is contained in:
Mike Reeves
2018-11-20 16:40:09 -05:00
parent 51f729f703
commit f77dec329d

View File

@@ -739,6 +739,7 @@ set_initial_firewall_policy() {
if [ $INSTALLTYPE == 'SENSORONLY' ]; then
ssh -i /root/.ssh/so.key socore@$MSRV sudo /opt/so/saltstack/pillar/firewall/addfirewall.sh minions $MAINIP
ssh -i /root/.ssh/so.key socore@$MSRV sudo /opt/so/saltstack/pillar/firewall/addfirewall.sh forward_nodes $MAINIP
ssh -i /root/.ssh/so.key socore@$MSRV sudo /opt/so/saltstack/pillar/data/addtotab.sh sensorstab $HOSTNAME $MAINIP
fi
if [ $INSTALLTYPE == 'STORAGENODE' ]; then