Install the new schema-image.json

Related to https://review.openstack.org/#/c/45672/

Change-Id: Ia5bfe14a5130004777d4c10e17cfdb324a66eff6
This commit is contained in:
Dirk Mueller 2013-09-10 16:35:08 +02:00
parent 86d0d0a80f
commit 43122f7611
1 changed files with 3 additions and 0 deletions

View File

@ -83,6 +83,9 @@ install_glance
# configure_glance
# guarantee we have all rules set in the new release
cp -p $GLANCE_DIR/etc/policy.json $GLANCE_POLICY_JSON
if [ -n "$GLANCE_SCHEMA_JSON" ]; then
cp -p $GLANCE_DIR/etc/schema-image.json $GLANCE_SCHEMA_JSON
fi
# Simulate init_glance()
create_glance_cache_dir