summaryrefslogtreecommitdiffstats
path: root/deploy/install_fuel_master.py
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-07-26 18:07:55 +0200
committerJonas Bjurel <jonas.bjurel@ericsson.com>2016-08-17 12:24:03 +0000
commit8b602ad490b427e5b97dd709e4d7905b500579e3 (patch)
treed1d5f55a18ab0bc8e01fa3540b1f4a5c54579239 /deploy/install_fuel_master.py
parent3ec3fb2d1d316b656a13f9c1ca00cc8a7fcd51de (diff)
deploy: Allow DEA to override bootstrap config
This commit does not change the current behavior in OPNFV, the preconfigured fuel_bootstrap_cli.yaml from OPNFV ISO is still used to replace the default settings / fuel-menu bootstrap cfg. The only addition is the possibility to override the preconfigured fuel_bootstrap_cli.yaml info using DEA. JIRA: FUEL-155 Change-Id: I4e66b789fdf0a5b1af512a3efc84fedb72ce3b05 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'deploy/install_fuel_master.py')
-rw-r--r--deploy/install_fuel_master.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/deploy/install_fuel_master.py b/deploy/install_fuel_master.py
index 5adccefbf..808d0b14c 100644
--- a/deploy/install_fuel_master.py
+++ b/deploy/install_fuel_master.py
@@ -84,8 +84,8 @@ class InstallFuelMaster(object):
log('Wait until Fuel menu is up')
fuel_menu_pid = self.wait_until_fuel_menu_up()
- log('Inject our own astute.yaml settings')
- self.inject_own_astute_yaml()
+ log('Inject our own astute.yaml and fuel_bootstrap_cli.yaml settings')
+ self.inject_own_astute_and_bootstrap_yaml()
log('Let the Fuel deployment continue')
log('Found FUEL menu as PID %s, now killing it' % fuel_menu_pid)
@@ -181,7 +181,7 @@ class InstallFuelMaster(object):
ret = self.ssh.exec_cmd(cmd, check=check)
return ret
- def inject_own_astute_yaml(self):
+ def inject_own_astute_and_bootstrap_yaml(self):
with self.ssh as s:
s.exec_cmd('rm -rf %s' % self.work_dir, False)
s.exec_cmd('mkdir %s' % self.work_dir)