nodepool: update package maps for Rocky 9
Update the package maps. It also seems like matching just "9" will cover 9-stream and Rocky, which just uses DIB_RELEASE "9". Also fixup the 80-enable-haveged to skip on rocky. Change-Id: Ia352d217d00e10068a463b62f7d9aca72cb88a8c
This commit is contained in:
parent
9f7824377f
commit
c043b9c2b6
@ -20,7 +20,7 @@ if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
||||
fi
|
||||
set -e
|
||||
|
||||
if [[ "$DISTRO_NAME" =~ ^(centos|rocky)$ && ${DIB_RELEASE} != '9-stream' ]] ; then
|
||||
if [[ "$DISTRO_NAME" =~ ^(centos|rocky)$ && ! ${DIB_RELEASE} =~ '9' ]] ; then
|
||||
# 9-stream we are just using the default rngd
|
||||
# Note: $YUM exposed by centos|rhel-like environment, correct across releases
|
||||
${YUM} -y install --enablerepo=epel haveged
|
||||
|
@ -19,6 +19,12 @@
|
||||
"ntp": "chrony",
|
||||
"ntpdate": "",
|
||||
"coreutils": ""
|
||||
},
|
||||
"9": {
|
||||
"python-dev": "",
|
||||
"ntp": "chrony",
|
||||
"ntpdate": "",
|
||||
"iptables": "iptables-services"
|
||||
}
|
||||
},
|
||||
"ubuntu": {
|
||||
|
@ -6,8 +6,8 @@ fi
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
if [[ ${DISTRO_NAME} == 'centos' && ${DIB_RELEASE} = '9-stream' ]]; then
|
||||
# 9-stream we are just using the default rngd
|
||||
if [[ "$DISTRO_NAME" =~ ^(centos|rocky)$ && ${DIB_RELEASE} =~ '9' ]]; then
|
||||
# 9/9-stream we are just using the default rngd
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user