Versions Compared

Key

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

Create a project for students

To create a project and add a student with NTNU username pikachu with permissions to create Heat stacks in the course IMT3005.

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" 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

Give a user administrative privileges

...