Merge branch 'master' into master

This commit is contained in:
Dariusz 2022-10-27 20:38:13 +02:00 committed by GitHub
commit 665fcd511a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,6 +34,26 @@ for any OS with a Bourne shell:
curl -L https://bootstrap.saltstack.com -o bootstrap_salt.sh
sudo sh bootstrap_salt.sh
Before run the script, it is a good practice to verify the checksum of the downloaded
file. You can verify the checksum with SHA256 by running this command:
.. code-block:: bash
test $(sha256sum bootstrap_salt.sh | awk '{print $1}') \
= $(curl -sL https://bootstrap.saltproject.io/sha256 | cat -) \
&& echo "OK" \
|| echo "File does not match checksum"
.. note::
The previous example is the preferred method because by downloading the script
you can investigate the contents of the bootstrap script or using it again later.
Alternatively, if you want to download the bash script and run it immediately,
use:
.. code-block:: bash
curl -L https://bootstrap.saltproject.io | sudo sh -s --
See the `salt-bootstrap`_ documentation for other one liners. When using `Vagrant`_
to test out salt, the `Vagrant salt provisioner`_ will provision the VM for you.