Skip to content

Commit 731a1a2

Browse files
committed
Fix extra "fi" and do not point-lock OpenLogic repo in centos77-LVM.ks
1 parent 330fa21 commit 731a1a2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ks/azure/centos77-LVM.ks

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ usermod root -p '!!'
108108
curl -so /etc/yum.repos.d/CentOS-Base.repo https://raw.githubusercontent.com/openlogic/AzureBuildCentOS/master/config/azure/CentOS-Base-7.repo
109109
curl -so /etc/yum.repos.d/OpenLogic.repo https://raw.githubusercontent.com/openlogic/AzureBuildCentOS/master/config/azure/OpenLogic.repo
110110
sed -i -e 's/$releasever/7.7.1908/' /etc/yum.repos.d/CentOS-Base.repo
111-
sed -i -e 's/$releasever/7.7.1908/' /etc/yum.repos.d/OpenLogic.repo
112111

113112
# Import CentOS and OpenLogic public keys
114113
curl -so /etc/pki/rpm-gpg/OpenLogic-GPG-KEY https://raw.githubusercontent.com/openlogic/AzureBuildCentOS/master/config/OpenLogic-GPG-KEY
@@ -265,12 +264,9 @@ then
265264
EOF
266265
fi
267266

268-
fi
269-
270267
# Download these again at the end of the post-install script so we can recreate a previous point release without current major version updates
271268
# Set OL repos
272269
curl -so /etc/yum.repos.d/CentOS-Base.repo https://raw.githubusercontent.com/openlogic/AzureBuildCentOS/master/config/azure/CentOS-Base-7.repo
273-
curl -so /etc/yum.repos.d/OpenLogic.repo https://raw.githubusercontent.com/openlogic/AzureBuildCentOS/master/config/azure/OpenLogic.repo
274270

275271
# Deprovision and prepare for Azure
276272
/usr/sbin/waagent -force -deprovision

0 commit comments

Comments
 (0)