2015-08-27 17:28:40 -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-10-13 06:30:30 +00:00
|
|
|
sudo -H -u ceilometer ceilometer-manage db_sync
|
2015-08-27 17:28:40 -07:00
|
|
|
exit 0
|
|
|
|
fi
|