From e7114ca22f39e98d7a0dc3125f0a05dc8fc7ff97 Mon Sep 17 00:00:00 2001 From: Brian Waldon Date: Fri, 4 May 2012 13:42:35 -0700 Subject: [PATCH] Copy Glance's policy.json to /etc/glance Change-Id: Ib83c9874b7d31e66206cf8907a12c65d9794a1a2 --- stack.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stack.sh b/stack.sh index 8a443d1f92..48659e9833 100755 --- a/stack.sh +++ b/stack.sh @@ -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