VirtualBox

Changeset 79912 in vbox


Ignore:
Timestamp:
Jul 21, 2019 3:41:29 PM (6 years ago)
Author:
vboxsync
Message:

ValKit/vboxwrappers.py: Try create a new host-only interface is no suitable one is found. [fixes] bugref:9151

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py

    r79911 r79912  
    14531453            if sRetName == '':
    14541454                # Create a new host-only interface.
     1455                reporter.log("Creating host only NIC ...");
    14551456                try:
    1456                     (oIHostOnly, oIProgress) = self.oVBox.host.createHostOnlyNetworkInterface();
    1457                     oProgress = ProgressWrapper(oIProgress, self.oVBoxMgr, self.oTstDrv, 'Create host only interface');
     1457                    (oIProgress, oIHostOnly) = self.oVBox.host.createHostOnlyNetworkInterface();
     1458                    oProgress = ProgressWrapper(oIProgress, self.oVBoxMgr, self.oTstDrv, 'Create host only NIC');
    14581459                    oProgress.wait();
    14591460                    if oProgress.logResult() is False:
     
    14631464                    reporter.errorXcpt();
    14641465                    return '';
     1466                reporter.log("Created host only NIC: '%s'" % (sRetName,));
    14651467
    14661468        elif eAttachmentType == vboxcon.NetworkAttachmentType_Internal:
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