diff options
| -rwxr-xr-x | add-user-roles | 3 | ||||
| -rw-r--r-- | secgroup-adaptation | 3 | 
2 files changed, 6 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 diff --git a/secgroup-adaptation b/secgroup-adaptation index 5cbf8a0..05616ff 100644 --- a/secgroup-adaptation +++ b/secgroup-adaptation @@ -11,6 +11,8 @@ nova secgroup-add-rule $SECGROUP tcp 4422 4422 0/0  # web is so common  nova secgroup-add-rule $SECGROUP tcp 80 80 0/0  nova secgroup-add-rule $SECGROUP tcp 443 443 0/0 +# client needs 4430 for api communication, at least for webapp +nova secgroup-add-rule $SECGROUP tcp 4430 4430 0/0  # ping. People like Ping, the story about Ping  nova secgroup-add-rule $SECGROUP  ICMP -1 -1 0/0 @@ -31,4 +33,5 @@ nova secgroup-add-rule $SECGROUP tcp 19002 19002 0/0  # It probably makes sense to have a bunch of these open for mosh  nova secgroup-add-rule $SECGROUP UDP 60000 60020 0/0 +  # That's it for now | 
