Merge "Change heat domain to heat_user_domain"
This commit is contained in:
commit
b1030263c5
@ -7,9 +7,9 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
|
|||||||
CURRENT_HEAT_DOMAIN_NAME=$(openstack domain list | grep heat | awk '{print $4}')
|
CURRENT_HEAT_DOMAIN_NAME=$(openstack domain list | grep heat | awk '{print $4}')
|
||||||
|
|
||||||
if [[ "heat" != "$CURRENT_HEAT_DOMAIN_NAME" ]]; then
|
if [[ "heat" != "$CURRENT_HEAT_DOMAIN_NAME" ]]; then
|
||||||
openstack domain create heat
|
openstack domain create heat_user_domain
|
||||||
openstack user create --domain heat heat_domain_admin --password ${HEAT_DOMAIN_ADMIN_PASSWORD}
|
openstack user create --domain heat_user_domain heat_domain_admin --password ${HEAT_DOMAIN_ADMIN_PASSWORD}
|
||||||
openstack role add --domain heat --user heat_domain_admin admin
|
openstack role add --domain heat_user_domain --user heat_domain_admin admin
|
||||||
openstack role create heat_stack_owner
|
openstack role create heat_stack_owner
|
||||||
openstack role create heat_stack_user
|
openstack role create heat_stack_user
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user