Skip to content

Commit 7b035af

Browse files
committed
Quick ssl fix
1 parent eca9929 commit 7b035af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cookbooks/aws-parallelcluster-environment/templates/isolated/patch-iso-instance.sh.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@ gpgcheck=0
4444
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-amazon-linux-2023
4545
REPO_DEFINITION
4646

47+
echo "sslverify=0" >> /etc/dnf/dnf.conf
4748
dnf install -y amazon-linux-repo-iso ca-certificates-iso
4849
echo -n "" > sudo tee /etc/dnf/vars/dualstack
50+
sed -i "s/sslverify=0//g" /etc/dnf/dnf.conf
4951
else
5052
cat > ${REPOSITORY_DEFINITION_FILE} <<REPO_DEFINITION
5153
[amzn2-iso]

0 commit comments

Comments
 (0)