diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh index ca3e75939a..ef76b25ee0 100644 --- a/vagrant/bootstrap.sh +++ b/vagrant/bootstrap.sh @@ -81,6 +81,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,^[# ]*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 @@ -124,18 +125,8 @@ export OS_PASSWORD=password export OS_TENANT_NAME=admin export OS_VOLUME_API_VERSION=2 EOF + chown vagrant: ~vagrant/openrc - # Quick&dirty helper script to push images to the local registry's lokolla - # namespace. - cat > ~vagrant/tag-and-push.sh <