From b8365e896e68a3732649bb8b7f4b85f10a0dab78 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Wed, 29 Feb 2012 12:41:56 -0800 Subject: [PATCH] More adjustments for horizon movement. --- devstack/components/horizon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devstack/components/horizon.py b/devstack/components/horizon.py index c2db1ba5..cd898c57 100644 --- a/devstack/components/horizon.py +++ b/devstack/components/horizon.py @@ -27,7 +27,7 @@ LOG = logging.getLogger("devstack.components.horizon") #actual dir names ROOT_HORIZON = 'horizon' -ROOT_DASH = 'openstack-dashboard' +ROOT_DASH = 'openstack_dashboard' #name used for python install trace HORIZON_NAME = ROOT_HORIZON @@ -163,7 +163,7 @@ class HorizonInstaller(comp.PythonInstallComponent): #Initialize the horizon database (it stores sessions and notices shown to users). #The user system is external (keystone). LOG.info("Initializing the horizon database.") - sh.execute(*DB_SYNC_CMD, cwd=self.dash_dir) + sh.execute(*DB_SYNC_CMD, cwd=self.appdir) def _ensure_db_access(self): # ../openstack-dashboard/local needs to be writeable by the runtime user