Updating script to pin to specific version
This commit is contained in:
		@@ -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
 | 
			
		||||
```
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user