2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-03-28 21:23:28 +00:00

Fix incorrectly matching older versions as 'el10'

This commit is contained in:
Jarrod Johnson
2026-03-17 12:58:04 -04:00
parent 52db46be93
commit 13a6444541

View File

@@ -3,7 +3,7 @@ sed -i 's/centos/CentOS/; s/rhel/Red Hat Enterprise Linux/; s/oraclelinux/Oracle
if grep Fedora $2/profile.yaml > /dev/null; then
sed -i 's/@^minimal-environment/#/' $2/packagelist
fi
if grep ^label: $2/profile.yaml | grep 10 > /dev/null; then
if grep ^label: $2/profile.yaml | grep ' 10' > /dev/null; then
echo 'echo openssh-keysign >> /tmp/addonpackages' > $2/scripts/pre.d/enablekeysign
chmod 644 $2/scripts/pre.d/enablekeysign
fi