Push images to registry by default in Vagrant

Change-Id: Ia4520cf85531e2508aba7aec9e078f963943af75
Closes-Bug: #1505497
This commit is contained in:
Michal Rostecki 2015-10-13 07:30:45 +02:00
parent bd010bdee2
commit 31b96d17ec

@ -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