Skip to content

Commit e87f7fc

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Copy Glance's policy.json to /etc/glance"
2 parents c39e681 + e7114ca commit e87f7fc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stack.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -998,6 +998,9 @@ if is_service_enabled g-reg; then
998998
iniset $GLANCE_API_PASTE_INI filter:authtoken admin_tenant_name $SERVICE_TENANT_NAME
999999
iniset $GLANCE_API_PASTE_INI filter:authtoken admin_user glance
10001000
iniset $GLANCE_API_PASTE_INI filter:authtoken admin_password $SERVICE_PASSWORD
1001+
1002+
GLANCE_POLICY_JSON=$GLANCE_CONF_DIR/policy.json
1003+
cp $GLANCE_DIR/etc/policy.json $GLANCE_POLICY_JSON
10011004
fi
10021005

10031006
# Quantum

0 commit comments

Comments
 (0)