VirtualBox

Changeset 102347 in vbox


Ignore:
Timestamp:
Nov 27, 2023 6:55:29 PM (12 months ago)
Author:
vboxsync
Message:

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

Location:
trunk/src/VBox/Main/src-server
Files:
2 edited

Legend:

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

    r102337 r102347  
    18831883     *   Official Debian GNU/Linux Live 10.10.0 cinnamon 2021-06-19T12:13
    18841884     *   Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
     1885     *   Ubuntu-Server 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230810)
    18851886     */
    18861887    vrc = RTVfsFileOpen(hVfsIso, ".disk/info", RTFILE_O_READ | RTFILE_O_DENY_NONE | RTFILE_O_OPEN, &hVfsFile);
  • 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.

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