#!/bin/bash
set -eux

if os-is-bootstrap-host ; then
    su -s /bin/bash -c 'glance-manage db sync' glance
fi
