- Timestamp:
- Nov 2, 2021 11:15:38 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vbox.py
r92131 r92175 2949 2949 if not oNic.enabled: 2950 2950 continue; 2951 sAdpName = self.getNetworkAdapterNameFromType(oNic); 2952 sKey = 'VBoxInternal/Devices/%s/%d/LUN#0/Config/LocalhostReachable' % (sAdpName, iSlot); 2951 2953 if oNic.attachmentType == vboxcon.NetworkAttachmentType_NAT: 2952 sAdpName = self.getNetworkAdapterNameFromType(oNic);2953 sKey = 'VBoxInternal/Devices/%s/%d/LUN#0/Config/LocalhostReachable' % (sAdpName, iSlot);2954 2954 reporter.log2('Enabling "LocalhostReachable" (NAT) for network adapter "%s" in slot %d (key: %s)' % \ 2955 2955 (sAdpName, iSlot, sKey)); 2956 2956 self.oVBox.setExtraData(sKey, '1'); 2957 else: 2958 # Other attachments will fail if 'LocalhostReachable' extra data override is present 2959 reporter.log2('Disabling "LocalhostReachable" (NAT) for network adapter "%s" in slot %d (key: %s)' % \ 2960 (sAdpName, iSlot, sKey)); 2961 self.oVBox.setExtraData(sKey, ''); 2957 2962 except: 2958 2963 pass;
Note:
See TracChangeset
for help on using the changeset viewer.