Skip to content

Commit

Permalink
Remove minor version pining (#2854)
Browse files Browse the repository at this point in the history
  • Loading branch information
hgreebe authored Dec 16, 2024
1 parent f3219fb commit b53aec2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cookbooks/aws-parallelcluster-platform/files/ami_cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ rm -f /etc/udev/rules.d/70-persistent-net.rules
grep -l "Created by cloud-init on instance boot automatically" /etc/sysconfig/network-scripts/ifcfg-* | xargs rm -f
rm -rf /var/crash/*

if [ -f /opt/parallelcluster/pin_releasesever ]; then
rm -f /opt/parallelcluster/pin_releasesever
rm -f /etc/yum/vars/releasever
fi

# https://bugs.centos.org/view.php?id=13836#c33128
source /etc/os-release
if [ "${ID}${VERSION_ID}" == "centos7" ]; then
Expand Down

0 comments on commit b53aec2

Please sign in to comment.