diff --git a/nodepool/scripts/configure_mirror.sh b/nodepool/scripts/configure_mirror.sh index 2634c5df3e..1210ecb044 100755 --- a/nodepool/scripts/configure_mirror.sh +++ b/nodepool/scripts/configure_mirror.sh @@ -96,4 +96,26 @@ deb-src http://security.debian.org/ $LSBDISTCODENAME/updates main deb http://httpredir.debian.org/debian $LSBDISTCODENAME-backports main deb-src http://httpredir.debian.org/debian $LSBDISTCODENAME-backports main EOF +elif [ "$LSBDISTID" == "CentOS" ]; then + sudo dd of=/etc/yum.repos.d/CentOS-Base.repo <