mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-15 17:20:20 +00:00
Update python install step for python 3
urllib and print syntax updated
This commit is contained in:
parent
e99e5ceeb9
commit
b36d41319b
1 changed files with 5 additions and 0 deletions
|
@ -152,6 +152,11 @@ All Python versions should support the following in-line code:
|
|||
python -c 'import urllib; print urllib.urlopen("https://bootstrap.saltstack.com").read()' > bootstrap-salt.sh
|
||||
sudo sh bootstrap-salt.sh git develop
|
||||
|
||||
or with python version 3:
|
||||
|
||||
.. code:: console
|
||||
|
||||
python -c 'import urllib.request; print(urllib.request.urlopen("https://bootstrap.saltstack.com").read())' > bootstrap-salt.sh
|
||||
|
||||
Install using fetch
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
|
Loading…
Add table
Reference in a new issue