5
5
if [ "$1" = "configure" ]
7
11
if ! getent passwd glance > /dev/null 2>&1
12
16
if ! grep sql_connection /etc/glance/glance-registry.conf | grep -qv "sql_connection = sqlite:////var/lib/glance/glance.sqlite"
14
18
su -c 'glance-manage db_sync' glance