Keystone Glance script, should be later moved to some other resource
This commit is contained in:
9
resources/glance_config/keystone-glance.sh
Normal file
9
resources/glance_config/keystone-glance.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
export OS_SERVICE_TOKEN=admin
|
||||
export OS_SERVICE_ENDPOINT=http://localhost:35357/v2.0
|
||||
|
||||
keystone tenant-create --name=service_admins
|
||||
keystone user-create --name=glance_admin --password=passsword1234
|
||||
keystone role-create --name=service_role
|
||||
keystone user-role-add --user=glance_admin --tenant=service_admins --role=service_role
|
||||
Reference in New Issue
Block a user