mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Merge branch 'master' into master
This commit is contained in:
commit
665fcd511a
1 changed files with 20 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue