Updating script to pin to specific version

This commit is contained in:
2025-10-09 15:54:13 -04:00
parent 3e85467727
commit bafba77b89
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
## To add new host to salt ## To add new host to salt
``` ```
curl --location --show-error --silent -O https://git.kcrawford.net/kcrawford/saltBootstrap/raw/branch/main/script.sh && echo '5afed7bd0e5711215914dacc33c4998d41e48abf script.sh' | sha1sum --check --status && sudo bash ./script.sh curl --location --show-error --silent -O https://git.kcrawford.net/kcrawford/saltBootstrap/raw/branch/main/script.sh && echo '0e196d98fb2210364f97c1f8d9a6fbdff34d16a5 script.sh' | sha1sum --check --status && sudo bash ./script.sh
``` ```

View File

@ -6,7 +6,7 @@
curl -o /tmp/bootstrap-salt.sh -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh curl -o /tmp/bootstrap-salt.sh -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh
# Run bootstrap script # Run bootstrap script
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 -P stable 3006.10; fi
# Point minion to master # Point minion to master
echo "master: salt.lan" | tee /etc/salt/minion.d/override.conf echo "master: salt.lan" | tee /etc/salt/minion.d/override.conf