Skip to content

Commit 2ed9599

Browse files
author
Dmitriy Rabotyagov
committed
Remove EL9 case from bootstrap script
With removal support of all EL9 derrivatives we can also clean up a bootstrap script to contain only EL10 path. Change-Id: I989f247dd104a20a3d997c090aed5088570440d3 Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
1 parent 772dd8d commit 2ed9599

1 file changed

Lines changed: 2 additions & 21 deletions

File tree

scripts/bootstrap-ansible.sh

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -67,27 +67,8 @@ determine_distro
6767

6868
# Install the python interpreters
6969
case ${DISTRO_ID} in
70-
rocky)
71-
case ${DISTRO_VERSION_ID} in
72-
9|9.[0-9]*)
73-
dnf -y install python3.12 python3.12-pip python3.12-devel python3 python3-devel python3-libselinux
74-
PYTHON_EXEC_PATH="$(command -v python3.12)"
75-
OSA_ANSIBLE_PYTHON_INTERPRETER="/usr/bin/python3"
76-
;;
77-
10|10.[0-9]*)
78-
dnf -y install python3 python3-devel python3-libselinux
79-
esac
80-
;;
81-
centos|rhel)
82-
case ${DISTRO_VERSION_ID} in
83-
9)
84-
dnf -y install python3.12 python3.12-pip python3.12-devel python3 python3-devel libselinux-python3
85-
PYTHON_EXEC_PATH="$(command -v python3.12)"
86-
OSA_ANSIBLE_PYTHON_INTERPRETER="/usr/bin/python3"
87-
;;
88-
10)
89-
dnf -y install python3 python3-devel python3-libselinux
90-
esac
70+
centos|rhel|rocky)
71+
dnf -y install python3 python3-devel python3-libselinux
9172
;;
9273
ubuntu|debian)
9374
apt-get update

0 commit comments

Comments
 (0)