From 73349fba36d149292d562a85c1414d1429bf4121 Mon Sep 17 00:00:00 2001 From: cocoy Date: Wed, 25 Apr 2012 21:02:44 +0800 Subject: [PATCH] Bugfix for issue no. 229 --- setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup b/setup index 20f3d33902d..291d5f000c1 100755 --- a/setup +++ b/setup @@ -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