VirtualBox

Changeset 72525 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Jun 12, 2018 11:26:43 AM (7 years ago)
Author:
vboxsync
Message:

Main/Appliance: Since "stack" is reused for all VMs in a multi-appliance import, certain optional variables need clearing otherwise stale data is used. Caused import failures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp

    r72523 r72525  
    40164016
    40174017        // Primary group, which is entirely optional.
     4018        stack.strPrimaryGroup.setNull();
    40184019        std::list<VirtualSystemDescriptionEntry*> vsdePrimaryGroup = vsdescThis->i_findByType(VirtualSystemDescriptionType_PrimaryGroup);
    40194020        if (vsdePrimaryGroup.size() >= 1)
     
    40284029        // it takes precedence, otherwise it is recreated from the base folder
    40294030        // and the primary group.
     4031        stack.strSettingsFilename.setNull();
    40304032        std::list<VirtualSystemDescriptionEntry*> vsdeSettingsFile = vsdescThis->i_findByType(VirtualSystemDescriptionType_SettingsFile);
    40314033        if (vsdeSettingsFile.size() >= 1)
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