Paste #591118
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | debian/nova-common.postinst
if ! grep -qE "^(sql_)?connection( )?=.*" /etc/nova/nova.conf || \
grep -qE "^(sql_)?connection.*sqlite.*" /etc/nova/nova.conf
then
su -s /bin/sh -c 'nova-manage db sync' nova
fi
Is this condition right? It should be without "!":
if grep -qE "^(sql_)?connection( )?=.*" /etc/nova/nova.conf || \
grep -qE "^(sql_)?connection.*sqlite.*" /etc/nova/nova.conf
then
su -s /bin/sh -c 'nova-manage db sync' nova
fi
|