From 3a22d818cd0fe69c402a460cc466dec0f5c1dadf Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya Date: Fri, 28 Oct 2011 12:11:18 -0700 Subject: [PATCH] create roles for demo user so ec2 api is happy --- files/keystone_data.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/files/keystone_data.sh b/files/keystone_data.sh index 5349311..a5e75a6 100755 --- a/files/keystone_data.sh +++ b/files/keystone_data.sh @@ -14,8 +14,12 @@ $BIN_DIR/keystone-manage $* role add Admin $BIN_DIR/keystone-manage $* role add Member $BIN_DIR/keystone-manage $* role add KeystoneAdmin $BIN_DIR/keystone-manage $* role add KeystoneServiceAdmin +$BIN_DIR/keystone-manage $* role add sysadmin +$BIN_DIR/keystone-manage $* role add netadmin $BIN_DIR/keystone-manage $* role grant Admin admin admin $BIN_DIR/keystone-manage $* role grant Member demo demo +$BIN_DIR/keystone-manage $* role grant sysadmin demo demo +$BIN_DIR/keystone-manage $* role grant netadmin demo demo $BIN_DIR/keystone-manage $* role grant Member demo invisible_to_admin $BIN_DIR/keystone-manage $* role grant Admin admin demo $BIN_DIR/keystone-manage $* role grant Admin admin