We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 701ba7f commit 992b189Copy full SHA for 992b189
1 file changed
bootstrap.sh
@@ -184,8 +184,8 @@ step_setup() {
184
echo 'Runtime Host:' | tee -a ${log}
185
cat /etc/redhat-release | tee -a ${log}
186
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"
+ if ! [[ $(</etc/os-release) =~ CPE_NAME=\"cpe:/o:redhat:enterprise_linux:10(\.?.*)?\" ]]; then
+ echo "RHEL 10 Check Failed"
189
exit 1
190
fi
191
0 commit comments