Use local mirror of ceph and uca
Change-Id: I75962ec416a8e4bedb0ad85c93b46cdcd80e8a72 Partially-Implements: blueprint mirrors
This commit is contained in:
parent
0f9534bc23
commit
4ece523613
@ -30,12 +30,12 @@ function setup_config {
|
|||||||
# Optimize the repos to take advantage of the Infra provided mirrors for Ubuntu
|
# Optimize the repos to take advantage of the Infra provided mirrors for Ubuntu
|
||||||
sed -i 's|^#apt_sources_list.*|apt_sources_list = /etc/kolla/sources.list|' /etc/kolla/kolla-build.conf
|
sed -i 's|^#apt_sources_list.*|apt_sources_list = /etc/kolla/sources.list|' /etc/kolla/kolla-build.conf
|
||||||
sudo cp /etc/apt/sources.list /etc/kolla/sources.list
|
sudo cp /etc/apt/sources.list /etc/kolla/sources.list
|
||||||
|
sudo cat /etc/apt/sources.list.available.d/ceph-deb-hammer.list | sudo tee -a /etc/kolla/sources.list
|
||||||
|
sudo cat /etc/apt/sources.list.available.d/ubuntu-cloud-archive.list | sudo tee -a /etc/kolla/sources.list
|
||||||
# Append non-infra provided repos to list
|
# Append non-infra provided repos to list
|
||||||
cat << EOF | sudo tee -a /etc/kolla/sources.list
|
cat << EOF | sudo tee -a /etc/kolla/sources.list
|
||||||
deb http://ubuntu-cloud.archive.canonical.com/ubuntu trusty-updates/mitaka main
|
|
||||||
deb http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu trusty main
|
deb http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu trusty main
|
||||||
deb http://repo.percona.com/apt trusty main
|
deb http://repo.percona.com/apt trusty main
|
||||||
deb http://download.ceph.com/debian-hammer/ trusty main
|
|
||||||
deb http://packages.elastic.co/elasticsearch/2.x/debian stable main
|
deb http://packages.elastic.co/elasticsearch/2.x/debian stable main
|
||||||
deb http://packages.elastic.co/kibana/4.4/debian stable main
|
deb http://packages.elastic.co/kibana/4.4/debian stable main
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user