Update 'script.sh'

Update override to contain a hostname instead of IP.
This commit is contained in:
kcrawford 2022-09-19 18:31:04 +00:00
parent 7c0936a737
commit 40505a8c7b

View File

@ -9,7 +9,7 @@ curl -o /tmp/bootstrap-salt.sh -L https://bootstrap.saltproject.io
if [ -e /tmp/bootstrap-salt.sh ]; then bash /tmp/bootstrap-salt.sh; fi if [ -e /tmp/bootstrap-salt.sh ]; then bash /tmp/bootstrap-salt.sh; fi
# Point minion to master # Point minion to master
echo "master: 192.168.10.129" | tee /etc/salt/minion.d/override.conf echo "master: salt-master.local" | tee /etc/salt/minion.d/override.conf
# Restart minion service # Restart minion service
systemctl restart salt-minion systemctl restart salt-minion