airshipctl/manifests/function/baremetal-operator/entrypoint/inspector-entrypoint
Dmitry Ukov 44b2ffb081 Fix ironic inspector database schema creation
Initial schema is created during container building by rpm scripts.
Since db file path has changed we need to create schema explicitly

Change-Id: I13ef02fac31ad8ca01549efa5b44394bbd8016e1
2020-05-13 19:06:54 +04:00

8 lines
278 B
Bash

#!/usr/bin/bash
ironic-inspector-dbsync --config-file /shared/inspector.conf upgrade
exec /usr/bin/ironic-inspector --config-file /etc/ironic-inspector/inspector-dist.conf \
--config-file /shared/inspector.conf \
--log-file /shared/log/ironic-inspector/ironic-inspector.log