Merge "Revert "Run Glance initialization when Glance is enabled, not just registry""
diff --git a/stack.sh b/stack.sh
index dee84fa..089510f 100755
--- a/stack.sh
+++ b/stack.sh
@@ -1155,7 +1155,7 @@
# Glance
# ------
-if is_glance_enabled; then
+if is_service_enabled g-reg; then
echo_summary "Configuring Glance"
init_glance
fi
@@ -1280,7 +1280,7 @@
# scripts as userdata.
# See https://help.ubuntu.com/community/CloudInit for more on ``cloud-init``
-if is_glance_enabled; then
+if is_service_enabled g-reg; then
echo_summary "Uploading images"