From 1405685d2e203c149792dfd00b799c15a1c98190 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Thu, 29 Mar 2012 13:41:18 -0700 Subject: [PATCH] Use ~/openstack as root directory if not specified and not found in the env --- stack | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stack b/stack index ef1accb9..c3a6e445 100755 --- a/stack +++ b/stack @@ -118,8 +118,7 @@ def run(args): loaded_rcs = True root_dir = env.get_key(env_rc.INSTALL_ROOT) if not root_dir: - print(utils.color_text("No root directory specified!", "red")) - return False + root_dir = utils.joinpths(sh.gethomedir(), 'openstack') root_dir = sh.abspth(root_dir) setup_root(root_dir)