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.
$ 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
To give full administration access to a user, he needs to be an admin member of the admin project.
Give admin credentials to a user
$ openstack role add --project admin --user <username> admin --user-domain NTNU