Copy Glance's policy.json to /etc/glance

Change-Id: Ib83c9874b7d31e66206cf8907a12c65d9794a1a2
This commit is contained in:
Brian Waldon 2012-05-04 13:42:35 -07:00
parent cda2ae0aef
commit e7114ca22f

View File

@ -998,6 +998,9 @@ if is_service_enabled g-reg; then
iniset $GLANCE_API_PASTE_INI filter:authtoken admin_tenant_name $SERVICE_TENANT_NAME
iniset $GLANCE_API_PASTE_INI filter:authtoken admin_user glance
iniset $GLANCE_API_PASTE_INI filter:authtoken admin_password $SERVICE_PASSWORD
GLANCE_POLICY_JSON=$GLANCE_CONF_DIR/policy.json
cp $GLANCE_DIR/etc/policy.json $GLANCE_POLICY_JSON
fi
# Quantum