parent
6ae01d4fbd
commit
34ecd6cb25
1 changed files with 3 additions and 0 deletions
|
@ -2410,6 +2410,9 @@ class PyVmomiHelper(PyVmomi):
|
||||||
for nw in self.params['networks']:
|
for nw in self.params['networks']:
|
||||||
for key in nw:
|
for key in nw:
|
||||||
# We don't need customizations for these keys
|
# We don't need customizations for these keys
|
||||||
|
if key == 'type' and nw['type'] == 'dhcp':
|
||||||
|
network_changes = True
|
||||||
|
break
|
||||||
if key not in ('device_type', 'mac', 'name', 'vlan', 'type', 'start_connected'):
|
if key not in ('device_type', 'mac', 'name', 'vlan', 'type', 'start_connected'):
|
||||||
network_changes = True
|
network_changes = True
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue