mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #40393 from holmboe/saltssh-ubuntu1604-python2-docfix
Document how to install Python 2 on an Ubuntu 16.04 host with salt-ssh
This commit is contained in:
commit
48986ca16f
@ -110,6 +110,17 @@ Calling Salt SSH
|
||||
|
||||
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
|
||||
command:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user