systemvms: use Debian http redirector for apt repos

Picked in parts from https://github.com/apache/cloudstack/pull/103/files

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2015-03-11 13:22:09 +05:30
parent a04dd7162e
commit 7d2ffe063d
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ CLOUDSTACK_RELEASE=4.5.0
add_backports () {
sed -i '/backports/d' /etc/apt/sources.list
echo 'deb http://http.us.debian.org/debian wheezy-backports main' >> /etc/apt/sources.list
echo 'deb http://http.debian.net/debian/ wheezy-backports main' >> /etc/apt/sources.list
apt-get update
}

View File

@ -23,7 +23,7 @@ CLOUDSTACK_RELEASE=4.5.0
add_backports () {
sed -i '/backports/d' /etc/apt/sources.list
echo 'deb http://http.us.debian.org/debian wheezy-backports main' >> /etc/apt/sources.list
echo 'deb http://http.debian.net/debian/ wheezy-backports main' >> /etc/apt/sources.list
apt-get update
}