17 lines
361 B
Bash
17 lines
361 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
source /root/admin-openrc.sh
|
||
|
|
||
|
openstack project create --domain default \
|
||
|
--description "Service Project" service
|
||
|
|
||
|
openstack project create --domain default \
|
||
|
--description "Demo Project" demo
|
||
|
|
||
|
openstack user create --domain default \
|
||
|
--password geheim demo
|
||
|
|
||
|
openstack role create user
|
||
|
|
||
|
openstack role add --project demo --user demo user
|