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-22 15:00:30 +0000
commit8cafb288943dd0ad9a29c6e7b3d7b22710a10f89 (patch)
treeda79b8da24bd2a1686b4f87384c5f2adb5ca23c9 /apex/deploy.py
parentf9d02c076974168677bf5fdb02f26caf73924fb8 (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> (cherry picked from commit 17d5b541e93f5d88ff958372cdf0b0b184bdbc27)
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 9ebc3f62..37429773 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']})