]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
cephlab_ansible.sh: use scl rh-python38 on CentOS 7 738/head
authorDan Mick <dmick@redhat.com>
Thu, 4 May 2023 07:58:02 +0000 (00:58 -0700)
committerDan Mick <dmick@redhat.com>
Thu, 4 May 2023 07:58:02 +0000 (00:58 -0700)
commit7d8bae4906417a5993ad168a922851f16b18d26c
tree3d7ec82a9ef965a9f413b1fe76aac0e9468a7719
parente349f99a7153c7769e7716e3bfc205f5d4789c5f
cephlab_ansible.sh: use scl rh-python38 on CentOS 7

cephlab_ansible.sh runs at the very end of the installation process
during a cobbler install for fog image capture, on first reboot of the
freshly-cobblered system.

Cobbler runs on a CentOS 7 installation today, but its python is too
old to support modern ansible.  The SCL for python 3.8 is installed
on cobbler.  Add code here to, if installed, enable the SCL (by setting
some paths in the trigger script that is executed on the cobbler server
after the installed host reboots; a curl fetch is placed at the end of
/etc/rc.local, and this script runs to finish up all the configuration
of the host for teuthology use.

Signed-off-by: Dan Mick <dmick@redhat.com>
roles/cobbler/templates/triggers/install/post/cephlab_ansible.sh