Skip to content

Commit b53aec2

Browse files
authored
Remove minor version pining (#2854)
1 parent f3219fb commit b53aec2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: cookbooks/aws-parallelcluster-platform/files/ami_cleanup.sh

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ rm -f /etc/udev/rules.d/70-persistent-net.rules
99
grep -l "Created by cloud-init on instance boot automatically" /etc/sysconfig/network-scripts/ifcfg-* | xargs rm -f
1010
rm -rf /var/crash/*
1111

12+
if [ -f /opt/parallelcluster/pin_releasesever ]; then
13+
rm -f /opt/parallelcluster/pin_releasesever
14+
rm -f /etc/yum/vars/releasever
15+
fi
16+
1217
# https://bugs.centos.org/view.php?id=13836#c33128
1318
source /etc/os-release
1419
if [ "${ID}${VERSION_ID}" == "centos7" ]; then

0 commit comments

Comments
 (0)