From 254ebb0efff73faa2285cf9f1ce70298a9787cb0 Mon Sep 17 00:00:00 2001 From: MofassirArif Date: Mon, 18 Jan 2016 03:21:00 -0800 Subject: bug fix: make installer specific changes for baremetal. cater for fuel Change-Id: Ie8c233873041238e3fc1aaaa653653552c7c7428 Signed-off-by: MofassirArif --- func/driver.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'func') diff --git a/func/driver.py b/func/driver.py index 0dc0a6e1..7ccbb0c0 100644 --- a/func/driver.py +++ b/func/driver.py @@ -29,7 +29,7 @@ class Driver: self.dic_json['Dest_dir'] = str(result_dir) self.dic_json['ip1']='' self.dic_json['ip2']='' - + self.dic_json['installer']=str(os.environ['INSTALLER_TYPE']) for k,v in benchmark_detail: self.dic_json[k]=v for k, v in roles: @@ -46,5 +46,6 @@ class Driver: self.dic_json['privateip'+str(index)] = 'NONE' index= index+1 dic_json = json.dumps(dict(self.dic_json.items())) + print dic_json run_play = 'ansible-playbook -s ./benchmarks/playbooks/{0} --private-key=./data/QtipKey -i ./data/hosts --extra-vars \'{1}\' -v '.format(benchmark_name, dic_json) status = os.system(run_play) -- cgit 1.2.3-korg