mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Document how to install Python 2 on an Ubuntu 16.04 host with salt-ssh
This commit is contained in:
parent
9322630126
commit
311f9c86ee
@ -110,6 +110,17 @@ Calling Salt SSH
|
|||||||
|
|
||||||
salt-ssh centos-5-minion -r 'yum -y install epel-release ; yum -y install python26'
|
salt-ssh centos-5-minion -r 'yum -y install epel-release ; yum -y install python26'
|
||||||
|
|
||||||
|
.. note:: ``salt-ssh`` on systems with Python 3.x
|
||||||
|
|
||||||
|
Salt, before the Nitrogen release, does not support Python 3.x which is the
|
||||||
|
default on for example the popular 16.04 LTS release of Ubuntu. An easy
|
||||||
|
workaround for this scenario is to use the ``-r`` option similar to the
|
||||||
|
example above:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
salt-ssh ubuntu-1604-minion -r 'apt update ; apt install -y python-minimal'
|
||||||
|
|
||||||
The ``salt-ssh`` command can be easily executed in the same way as a salt
|
The ``salt-ssh`` command can be easily executed in the same way as a salt
|
||||||
command:
|
command:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user