VirtualBox

Ignore:
Timestamp:
Nov 27, 2023 6:55:29 PM (18 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160483
Message:

Main/Unattended: Added support for Ubuntu Server >= 20.04. bugref:10551

File:
1 edited

Legend:

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

    r102342 r102347  
    9393             * - The autoinstall installer for newer Ubuntu desktop or Ubuntu server versions.
    9494             */
    95             if (RTStrVersionCompare(strDetectedOSVersion.c_str(), "22.10") >= 0)
     95            if (/* Ubuntu Desktop >= 22.10 switch to the autoinstall installer. */
     96                   RTStrVersionCompare(strDetectedOSVersion.c_str(), "22.10") >= 0
     97                /* Ubuntu Server >= 20.04 also uses autoinstall installer. Before that no unattended installation was possible. */
     98                || (   RTStrVersionCompare(strDetectedOSVersion.c_str(), "20.04") >= 0
     99                    && strDetectedOSFlavor.contains("Server", RTCString::CaseSensitivity::CaseSensitive))
     100               )
    96101                pUinstaller = new UnattendedUbuntuAutoInstallInstaller(pParent);
    97                 /// @todo Check for Server >= 20.04 and others.
    98102            else
    99103                pUinstaller = new UnattendedUbuntuPreseedInstaller(pParent);
Note: See TracChangeset for help on using the changeset viewer.

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