summaryrefslogtreecommitdiffstats
path: root/apex/deploy.py
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-09-21 11:38:51 -0400
committerTim Rozet <trozet@redhat.com>2017-09-21 13:21:05 -0400
commit17d5b541e93f5d88ff958372cdf0b0b184bdbc27 (patch)
tree48d95bf35b0afd204029a2b87ab2e5c463a5fa17 /apex/deploy.py
parent330a071566034447fa6a4de17e56be1cceb1c83b (diff)
Fixes removing inventory keys
Inventory keys that we want to delete were not being removed for instackenv.json. Also fixes unit tests. Change-Id: I7d6c752342db050d651953633f18e236f60334e3 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'apex/deploy.py')
-rw-r--r--apex/deploy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apex/deploy.py b/apex/deploy.py
index 28416eec..0ffd4068 100644
--- a/apex/deploy.py
+++ b/apex/deploy.py
@@ -83,7 +83,7 @@ def build_vms(inventory, network_settings,
name, volume_path,
baremetal_interfaces=network_settings.enabled_network_list,
memory=node['memory'], cpus=node['cpu'],
- macs=[node['mac_address']],
+ macs=node['mac'],
template_dir=template_dir)
virt_utils.host_setup({name: node['pm_port']})