We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1360e74 commit 9d0edaaCopy full SHA for 9d0edaa
cli/src/pcluster/resources/imagebuilder/update_and_reboot.yaml
@@ -230,7 +230,7 @@ phases:
230
231
if [[ ${!OS} == "rhel8" ]] || [[ ${!OS} == "rocky8" ]] || [[ ${!OS} == "rhel9" ]] || [[ ${!OS} == "rocky9" ]] || [[ ${!OS} == "alinux2023" ]] ; then
232
# package-cleanup has changed in RHEL8 and it works differently https://access.redhat.com/solutions/1227
233
- yum remove $(yum repoquery --installonly --latest-limit=-2 -q)
+ yum remove -y $(yum repoquery --installonly --latest-limit=-2 -q)
234
else
235
package-cleanup -y --oldkernels --count=1
236
fi
0 commit comments