From bafba77b89385ca18b8bf3802de75c4b75696476 Mon Sep 17 00:00:00 2001 From: Kris Crawford Date: Thu, 9 Oct 2025 15:54:13 -0400 Subject: [PATCH] Updating script to pin to specific version --- README.md | 2 +- script.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 21b1008..440f82b 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ ## 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 ``` diff --git a/script.sh b/script.sh index 214907e..3799f5f 100755 --- a/script.sh +++ b/script.sh @@ -6,7 +6,7 @@ curl -o /tmp/bootstrap-salt.sh -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh # 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 echo "master: salt.lan" | tee /etc/salt/minion.d/override.conf