VirtualBox

Changeset 102546 in vbox


Ignore:
Timestamp:
Dec 8, 2023 3:15:35 PM (12 months ago)
Author:
vboxsync
Message:

Unattended/testcase: Added support for separate user/admin passwords. bugref:10554

File:
1 edited

Legend:

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

    r102521 r102546  
    216216        """
    217217        fRc = True;
    218         asAttribs = ( 'isoPath', 'user', 'password', 'fullUserName', 'productKey', 'additionsIsoPath', 'installGuestAdditions',
     218        asAttribs = [ 'isoPath', 'user', 'fullUserName', 'productKey', 'additionsIsoPath', 'installGuestAdditions',
    219219                      'validationKitIsoPath', 'installTestExecService', 'timeZone', 'locale', 'language', 'country', 'proxy',
    220220                      'packageSelectionAdjustments', 'hostname', 'auxiliaryBasePath', 'imageIndex', 'machine',
    221221                      'scriptTemplatePath', 'postInstallScriptTemplatePath', 'postInstallCommand',
    222222                      'extraInstallKernelParameters', 'detectedOSTypeId', 'detectedOSVersion', 'detectedOSLanguages',
    223                       'detectedOSFlavor', 'detectedOSHints', );
     223                      'detectedOSFlavor', 'detectedOSHints' ];
     224        if oTestDrv.fpApiVer >= 7.1: # Since 7.1 we offer different passwords for user and admin/root accounts.
     225            asAttribs.append( [ 'user-password', 'admin-password' ] );
     226        else:
     227            asAttribs.append( [ 'password' ] );
    224228        for sAttrib in asAttribs:
    225229            try:
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