Temporarily remove sqlite database after package installation
This commit is contained in:
parent
5a2d348ede
commit
f8310d25a6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user