Remove the docker-ce repo, if it can't be used while installing kube master
@@ -70,6 +70,7 @@ if [ $? -ne 0 ]; then
echo "Unable to install docker from the official repository, trying to use default docker-18.03*"
# Otherwise try to install default docker (e.g. if it's amazon linux)
+ rm -f /etc/yum.repos.d/docker-ce.repo
yum install -y docker-18.03*
if [ $? -ne 0 ]; then
echo "Unable to install default docker-18.03* too, exiting"
