mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-15 17:20:20 +00:00
Python versions >=2.7
do not have a __main__
in urllib
.
This commit is contained in:
parent
53d9020321
commit
4949f3021a
1 changed files with 9 additions and 1 deletions
10
README.rst
10
README.rst
|
@ -48,13 +48,21 @@ If you have certificate issues using ``wget`` try the following:
|
|||
|
||||
|
||||
|
||||
If you already have python installed, then it's as easy as:
|
||||
If you already have python installed, ``python 2.6``, then it's as easy as:
|
||||
|
||||
.. code:: console
|
||||
|
||||
python -m urllib "http://bootstrap.saltstack.org" | sudo sh -s -- git develop
|
||||
|
||||
|
||||
All python versions should support the following one liner:
|
||||
|
||||
.. code:: console
|
||||
|
||||
python -c 'import urllib; print urllib.urlopen("http://bootstrap.saltstack.org").read()' | \
|
||||
sudo sh -s -- git develop
|
||||
|
||||
|
||||
On a FreeBSD base system you usually don't have either of the above binaries available. You **do**
|
||||
have ``fetch`` available though:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue