Remove horizon session db.

* Removes stale sessions
 * Forcefully logs out the user between runs

Change-Id: I5374076283b8bc63826004c455b86afc86009b00
This commit is contained in:
Anthony Young 2012-01-26 12:59:26 -08:00
parent 50fc5c64ec
commit a575d500ba

View File

@ -749,6 +749,8 @@ if [[ "$ENABLED_SERVICES" =~ "horizon" ]]; then
rm -fr ${HORIZON_DIR}/openstack-dashboard/quantum
ln -s ${QUANTUM_CLIENT_DIR}/quantum ${HORIZON_DIR}/openstack-dashboard/quantum
# Remove stale session database.
rm -f $HORIZON_DIR/openstack-dashboard/local/dashboard_openstack.sqlite3
# ``local_settings.py`` is used to override horizon default settings.
local_settings=$HORIZON_DIR/openstack-dashboard/local/local_settings.py