|
...
|
...
|
@@ -39,6 +39,7 @@ GLANCE_REGISTRY_PASTE_INI=$GLANCE_CONF_DIR/glance-registry-paste.ini
|
|
39
|
39
|
GLANCE_API_PASTE_INI=$GLANCE_CONF_DIR/glance-api-paste.ini
|
|
40
|
40
|
GLANCE_CACHE_CONF=$GLANCE_CONF_DIR/glance-cache.conf
|
|
41
|
41
|
GLANCE_POLICY_JSON=$GLANCE_CONF_DIR/policy.json
|
|
|
42
|
+GLANCE_SCHEMA_JSON=$GLANCE_CONF_DIR/schema-image.json
|
|
42
|
43
|
|
|
43
|
44
|
# Support entry points installation of console scripts
|
|
44
|
45
|
if [[ -d $GLANCE_DIR/bin ]]; then
|
|
...
|
...
|
@@ -142,6 +143,7 @@ function configure_glance() {
|
|
142
|
142
|
iniset $GLANCE_CACHE_CONF DEFAULT admin_password $SERVICE_PASSWORD
|
|
143
|
143
|
|
|
144
|
144
|
cp -p $GLANCE_DIR/etc/policy.json $GLANCE_POLICY_JSON
|
|
|
145
|
+ cp -p $GLANCE_DIR/etc/schema-image.json $GLANCE_SCHEMA_JSON
|
|
145
|
146
|
}
|
|
146
|
147
|
|
|
147
|
148
|
# create_glance_cache_dir() - Part of the init_glance() process
|