commit | ead6af46e40db10b197f01ed1120df7c5be31077 | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Tue Oct 11 16:40:40 2016 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Tue Oct 11 16:40:40 2016 -0700 |
tree | e1ee0db8182571e2936c1ae22d4399b15f613661 | |
parent | 4ecd52fddd7c2ef6c6fe07b834eacedf275e763a [diff] |
fix bug when more than one management interface Change-Id: I1ff3533f44c01b270b2f9e42befd1eb9d629aaad
diff --git a/xos/synchronizer/steps/sync_instances.py b/xos/synchronizer/steps/sync_instances.py index 6e4f481..92b621f 100644 --- a/xos/synchronizer/steps/sync_instances.py +++ b/xos/synchronizer/steps/sync_instances.py
@@ -51,7 +51,7 @@ nics.remove(nic) # move the management network to the second spot - for net in nics[:]: + for nic in nics[:]: network=nic.get("network", None) if network: tem = network.template