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