From 31b96d17ecf2bfc1bdb4806e2efc2a237d953163 Mon Sep 17 00:00:00 2001 From: Michal Rostecki Date: Tue, 13 Oct 2015 07:30:45 +0200 Subject: [PATCH] Push images to registry by default in Vagrant Change-Id: Ia4520cf85531e2508aba7aec9e078f963943af75 Closes-Bug: #1505497 --- dev/vagrant/bootstrap.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/dev/vagrant/bootstrap.sh b/dev/vagrant/bootstrap.sh index 8899429226..222b0dc850 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