Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
$ studentid=pikachu
$ projectname=$studentid # typical if only one student pr project, or set to something else if group projects
$ openstack project create --description "IMT3005" --domain NTNU IMT3005_$projectname
$ openstack role add --project IMT3005_$projectname --user $studentid --user-domain=NTNU _member_
$ openstack role add --project IMT3005_$projectname --user $studentid --user-domain=NTNU heat_stack_owner
# repeat the last two lines with another studentid if more students should be assigned to this project

To verify that the roles has have been added:

Code Block
$ openstack role assignment list --project <PROJECTNAME> --names

...