update existing keystone objects

when booting the keystone container with an existing database, make sure
to update credentials for admin user and replace existing keystone
endpoint in the service catalog.

Change-Id: I2c66d75210ef7ba5a96077eea15a8c564e99f662
This commit is contained in:
Lars Kellogg-Stedman 2014-10-08 21:53:13 -04:00
parent cb05bb513b
commit 4fd63199f1

@ -65,8 +65,11 @@ while ! curl -o /dev/null -s --fail ${SERVICE_ENDPOINT}; do
sleep 1;
done
crux user-create -n admin -p "${KEYSTONE_ADMIN_PASSWORD}" -t admin -r admin
crux endpoint-create -n keystone -t identity \
crux user-create --update \
-n admin -p "${KEYSTONE_ADMIN_PASSWORD}" \
-t admin -r admin
crux endpoint-create --remove-all \
-n keystone -t identity \
-I "${SERVICE_ENDPOINT_USER}" \
-A "${SERVICE_ENDPOINT_ADMIN}"