72eae28b16
heat-api doesn't actually care about calling heat-manage db_sync, so move it to heat-engine, which does. Also add set -e on the script so errors from heat-manage are caught. Change-Id: I50ee5721a123ae760797816fb759dd6540df8ad4
12 lines
275 B
Bash
Executable File
12 lines
275 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
install-packages python-mysqldb
|
|
|
|
cp -r /opt/stack/heat/etc/heat/environment.d /etc/heat
|
|
cp -r /opt/stack/heat/etc/heat/templates /etc/heat
|
|
|
|
ln -s /opt/stack/venvs/heat/bin/heat-manage /usr/local/bin/heat-manage
|
|
|
|
os-svc-daemon heat-engine heat heat-engine
|