Updating salt domain
This commit is contained in:
parent
61923105fe
commit
14ca48abff
@ -1,5 +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
|
||||
curl --location --show-error --silent -O https://git.10bit.link/kcrawford/saltBootstrap/raw/branch/main/script.sh && echo '17186dd10cb982dac23ee1cdf9424ae0a62cb22c 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
|
||||
|
||||
# Point minion to master
|
||||
echo "master: salt-master.io" | tee /etc/salt/minion.d/override.conf
|
||||
echo "master: salt.lan" | tee /etc/salt/minion.d/override.conf
|
||||
|
||||
# Restart minion service
|
||||
systemctl restart salt-minion
|
||||
|
Loading…
Reference in New Issue
Block a user