summaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorMichal Rostecki <mrostecki@mirantis.com>2015-10-13 07:30:45 +0200
committerMichal Rostecki <mrostecki@mirantis.com>2015-10-13 07:30:45 +0200
commit31b96d17ecf2bfc1bdb4806e2efc2a237d953163 (patch)
treebd349f64ac2abb3b85331d0cfa9fe980adb5a408 /dev
parentbd010bdee2794990de381adf99f841ab237f58c6 (diff)
downloadkolla-31b96d17ecf2bfc1bdb4806e2efc2a237d953163.tar.gz
kolla-31b96d17ecf2bfc1bdb4806e2efc2a237d953163.zip
Push images to registry by default in Vagrant
Change-Id: Ia4520cf85531e2508aba7aec9e078f963943af75 Closes-Bug: #1505497
Diffstat (limited to 'dev')
-rw-r--r--dev/vagrant/bootstrap.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev/vagrant/bootstrap.sh b/dev/vagrant/bootstrap.sh
index 889942922..222b0dc85 100644
--- a/dev/vagrant/bootstrap.sh
+++ b/dev/vagrant/bootstrap.sh
@@ -82,6 +82,7 @@ EOF
function configure_kolla {
# Use local docker registry
sed -i -r "s,^[# ]*namespace.+$,namespace = ${REGISTRY}/lokolla," /etc/kolla/kolla-build.conf
+ sed -i -r "s,^[# ]*push.+$,push = True," /etc/kolla/kolla-build.conf
sed -i -r "s,^[# ]*docker_registry:.+$,docker_registry: \"${REGISTRY}\"," /etc/kolla/globals.yml
sed -i -r "s,^[# ]*docker_namespace:.+$,docker_namespace: \"lokolla\"," /etc/kolla/globals.yml
sed -i -r "s,^[# ]*docker_insecure_registry:.+$,docker_insecure_registry: \"True\"," /etc/kolla/globals.yml