VirtualBox

Ignore:
Timestamp:
Oct 25, 2021 4:58:55 PM (3 years ago)
Author:
vboxsync
Message:

ValidationKit: bugref:9932 Use host-only networks instead of adapters on Mac OS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/installation/tdGuestOsUnattendedInst1.py

    r82968 r92050  
    242242            if self.sKind in ('WindowsXP','WindowsXP_64',):
    243243                eNic0AttachType = vboxcon.NetworkAttachmentType_HostOnly;
     244
     245        #
     246        # Use host-only networks instead of host-only adapters for trunk builds on Mac OS.
     247        #
     248        if eNic0AttachType == vboxcon.NetworkAttachmentType_HostOnly \
     249            and utils.getHostOs() == 'darwin' \
     250            and oTestDrv.fpApiVer >= 7.0:
     251            eNic0AttachType = vboxcon.NetworkAttachmentType_HostOnlyNetwork;
    244252
    245253        return vboxtestvms.BaseTestVm._createVmDoIt(self, oTestDrv, eNic0AttachType, sDvdImage);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette