Use ~/openstack as root directory if not specified and not found in the env
This commit is contained in:
parent
992a5c78af
commit
1405685d2e
3
stack
3
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user