Skip to content

Commit 992b189

Browse files
authored
limit bootstrap setup to rhel 10 (#304)
1 parent 701ba7f commit 992b189

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bootstrap.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ step_setup() {
184184
echo 'Runtime Host:' | tee -a ${log}
185185
cat /etc/redhat-release | tee -a ${log}
186186
echo ' - '
187-
if ! [[ $(</etc/os-release) =~ CPE_NAME=\"cpe:/o:(redhat:enterprise_linux|centos:centos):10(\.?.*)?\" ]]; then
188-
echo "RHEL 10 / CentOS Stream 10 Check Failed"
187+
if ! [[ $(</etc/os-release) =~ CPE_NAME=\"cpe:/o:redhat:enterprise_linux:10(\.?.*)?\" ]]; then
188+
echo "RHEL 10 Check Failed"
189189
exit 1
190190
fi
191191

0 commit comments

Comments
 (0)