64b767f9f6
Change-Id: Ie91b3498e9f9d0d74a502ba6945db531ef967516 Closes-Bug: #1492736
14 lines
518 B
Bash
14 lines
518 B
Bash
#!/bin/bash
|
|
|
|
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
|
|
# of the KOLLA_BOOTSTRAP variable being set, including empty.
|
|
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
|
|
heat-manage db_sync
|
|
openstack domain create heat
|
|
openstack user create --domain heat heat_domain_admin --password ${HEAT_DOMAIN_ADMIN_PASSWORD}
|
|
openstack role add --domain heat --user heat_domain_admin admin
|
|
openstack role create heat_stack_owner
|
|
openstack role create heat_stack_user
|
|
exit 0
|
|
fi
|