ssh docs: install py-2.6 for RHEL 5

This commit is contained in:
Justin Findlay 2016-05-05 16:13:25 -06:00
parent fb89877cf2
commit a2c927b173

View file

@ -98,6 +98,17 @@ Once keys are successfully deployed, salt-ssh can be used to control them.
Calling Salt SSH
================
.. note:: ``salt-ssh`` on RHEL/CentOS 5
The ``salt-ssh`` command requires at least python 2.6, which is not
installed by default on RHEL/CentOS 5. An easy workaround in this
situation is to use the ``-r`` option to run a raw shell command that
installs python26:
.. code-block:: bash
salt-ssh centos-5-minion -r 'yum -y install epel-release ; yum -y install python26'
The ``salt-ssh`` command can be easily executed in the same way as a salt
command: