#!/bin/bash
set -eux
set -o pipefail

if os-is-bootstrap-host ; then
    su -s /bin/bash -c 'ironic-dbsync --config-file /etc/ironic/ironic.conf' ironic
fi
