diff --git a/plugins/modules/vmware_guest.py b/plugins/modules/vmware_guest.py index ff386e4ef..d34608577 100644 --- a/plugins/modules/vmware_guest.py +++ b/plugins/modules/vmware_guest.py @@ -1945,7 +1945,6 @@ def configure_network(self, vm_obj): pg = pgs[0] else: pg = find_obj(self.content, [vim.DistributedVirtualPortgroup], network_name) - if pg is None or nic.device.backing.port.portgroupKey != pg.key: nic.device.deviceInfo.summary = network_name nic_change_detected = True