Merge "Run Glance initialization when Glance is enabled, not just registry"

This commit is contained in:
Zuul
2020-01-16 07:23:33 +00:00
committed by Gerrit Code Review

View File

@@ -1155,7 +1155,7 @@ fi
# Glance
# ------
if is_service_enabled g-reg; then
if is_glance_enabled; then
echo_summary "Configuring Glance"
init_glance
fi
@@ -1280,7 +1280,7 @@ fi
# scripts as userdata.
# See https://help.ubuntu.com/community/CloudInit for more on ``cloud-init``
if is_service_enabled g-reg; then
if is_glance_enabled; then
echo_summary "Uploading images"