diff --git a/cli/src/pcluster/resources/imagebuilder/update_and_reboot.yaml b/cli/src/pcluster/resources/imagebuilder/update_and_reboot.yaml index af58194615..70f61c99f0 100644 --- a/cli/src/pcluster/resources/imagebuilder/update_and_reboot.yaml +++ b/cli/src/pcluster/resources/imagebuilder/update_and_reboot.yaml @@ -206,7 +206,7 @@ phases: fi if [[ ${!OS} == "rocky8" ]] ; then - yum versionlock rocky-release + yum versionlock rocky-release rocky-repos elif [[ ${!OS} == "rhel8" ]] ; then yum versionlock redhat-release fi