Allow enabling the v1 api (though it is deprecated)
diff --git a/glance/files/ocata/glance-api.conf.Debian b/glance/files/ocata/glance-api.conf.Debian
index a29833a..f6230b6 100644
--- a/glance/files/ocata/glance-api.conf.Debian
+++ b/glance/files/ocata/glance-api.conf.Debian
@@ -440,7 +440,7 @@
#
# (boolean value)
#enable_v1_api = true
-enable_v1_api=False
+enable_v1_api={{ server.get('enable_v1_api', 'False')|lower }}
#
# Deploy the v2 OpenStack Images API.
diff --git a/glance/files/ocata/glance-registry.conf.Debian b/glance/files/ocata/glance-registry.conf.Debian
index d5b34e4..9693894 100644
--- a/glance/files/ocata/glance-registry.conf.Debian
+++ b/glance/files/ocata/glance-registry.conf.Debian
@@ -391,6 +391,7 @@
#
# (boolean value)
#enable_v1_api = true
+enable_v1_api={{ server.get('enable_v1_api', 'False')|lower }}
#
# Deploy the v2 OpenStack Images API.
@@ -444,6 +445,7 @@
#
# (boolean value)
#enable_v1_registry = true
+enable_v1_registry={{ server.get('enable_v1_api', 'False')|lower }}
#
# Deploy the v2 API Registry service.