2015-08-27 18:54:29 -07:00
|
|
|
#!/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
|
2015-11-30 11:28:58 +05:30
|
|
|
nova-manage db sync
|
2016-02-01 23:01:59 +00:00
|
|
|
nova-manage api_db sync
|
2016-04-03 17:35:25 -04:00
|
|
|
nova-manage db online_data_migrations
|
2015-08-27 18:54:29 -07:00
|
|
|
exit 0
|
|
|
|
fi
|