Bugfix for issue no. 229

This commit is contained in:
cocoy 2012-04-25 21:02:44 +08:00
parent f27fbe86d5
commit 73349fba36

2
setup
View file

@ -295,7 +295,7 @@ except:
(k,v) = opt.split("=")
setup_options[k]=v
ansible_file = setup_options.get('metadata', DEFAULT_ANSIBLE_SETUP)
ansible_file = os.path.expandvars(setup_options.get('metadata', DEFAULT_ANSIBLE_SETUP))
ansible_dir = os.path.dirname(ansible_file)
# create the config dir if it doesn't exist