summaryrefslogtreecommitdiff
path: root/add-user-roles
diff options
context:
space:
mode:
Diffstat (limited to 'add-user-roles')
-rwxr-xr-xadd-user-roles3
1 files changed, 3 insertions, 0 deletions
diff --git a/add-user-roles b/add-user-roles
index 5c1633c..fa719b7 100755
--- a/add-user-roles
+++ b/add-user-roles
@@ -1,6 +1,9 @@
#!/bin/bash
# add user with project-admin role to all projects
+#
+# Before using this script, add yourself as user with i.e.
+# keystone user-create --name varac --pass NSACANTGUESSTHIS --email varacanero@leap.se --enabled true
ROLEID=$(keystone role-list | grep -i projectadmin | awk '{print $2}')
USERID=NULL