#!/bin/bash
set -eux

if os-is-bootstrap-host ; then
    sudo -u nova -- nova-manage db sync
fi
