Temporarily remove sqlite database after package installation

This commit is contained in:
Adam Gandelman 2012-01-10 23:40:15 -08:00
parent 5a2d348ede
commit f8310d25a6

View File

@ -37,6 +37,9 @@ def install_hook():
keystone_conf_update("service_port", config["service-port"])
keystone_conf_update("admin_port", config["admin-port"])
execute("service keystone stop", echo=True)
# remove bad database (created on service start) until packages are updated
# to add databsae sync
execute("rm -rf /var/lib/keystone/keystone.db")
execute("keystone-manage database sync")
execute("service keystone start", echo=True)
ensure_initial_admin(config)