Updating dns record
This commit is contained in:
parent
1e95bb8ef8
commit
61923105fe
@ -0,0 +1,5 @@
|
|||||||
|
## To add new host to salt
|
||||||
|
|
||||||
|
```
|
||||||
|
curl --location --show-error --silent -O https://git.10bit.link/kcrawford/saltBootstrap/raw/branch/main/script.sh && echo '42c50a7bd4a18464057af52dc03d86c1dc998644 script.sh' | sha1sum --check --status && sudo bash ./script.sh
|
||||||
|
```
|
@ -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: salt-master.local" | tee /etc/salt/minion.d/override.conf
|
echo "master: salt-master.io" | 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