VirtualBox

Changeset 104532 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 7, 2024 3:09:15 PM (7 months ago)
Author:
vboxsync
Message:

added windows 2019 server info to utils, now valkit is able to catch this version as well, tested on testboxbarc11

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/common/utils.py

    r103724 r104532  
    348348            # Python platform.release() is not reliable for newer server releases
    349349            if oOsVersion.wProductType != 1:
    350                 if oOsVersion.dwMajorVersion == 10 and oOsVersion.dwMinorVersion == 0:
    351                     sVersion = '2016Server';
     350                if oOsVersion.dwMajorVersion == 10 and oOsVersion.dwMinorVersion == 0 \
     351                                                   and oOsVersion.dwBuildNumber == 17763:
     352                    sVersion = '2019Server'
     353                elif oOsVersion.dwMajorVersion == 10 and oOsVersion.dwMinorVersion == 0:
     354                    sVersion = '2016Server'; #todo: should probably add dwBuildNumber for it as well..
    352355                elif oOsVersion.dwMajorVersion == 6 and oOsVersion.dwMinorVersion == 3:
    353356                    sVersion = '2012ServerR2';
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