mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update quickstart.rst
Add some text about verifying with SHA256 and mention that the original method is preferred.
This commit is contained in:
parent
954f517240
commit
930c9a9b28
1 changed files with 14 additions and 1 deletions
|
@ -34,9 +34,22 @@ 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::
|
||||
|
||||
Alternatively, to download the bash script and run it immediately, use:
|
||||
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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue