Update 'script.sh'
Update override to contain a hostname instead of IP.
This commit is contained in:
parent
7c0936a737
commit
40505a8c7b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user