VirtualBox

Ignore:
Timestamp:
Oct 31, 2023 12:38:46 PM (19 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159775
Message:

Main/Unattended|GuestOSType: Add an entry in the guest OS type to indicate the name of the additions install package instead of hardcoding it in the templates. Allows easy adaption if something changes and makes it possible to auto install guest additions for linux.arm64 guests, bugref:10542

File:
1 edited

Legend:

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

    r101633 r101683  
    26382638        return setError(E_FAIL, tr("The detected guest OS type requires EFI to boot and therefore is not supported yet"));
    26392639
     2640    /* Set the guest additions install package name. */
     2641    mStrAdditionsInstallPackage = Global::sOSTypes[idxMachineOSType].guestAdditionsInstallPkgName;
     2642
    26402643    /*
    26412644     * Do some default property stuff and check other properties.
     
    41844187}
    41854188
     4189Utf8Str const &Unattended::i_getAdditionsInstallPackage() const
     4190{
     4191    Assert(isReadLockedOnCurrentThread());
     4192    return mStrAdditionsInstallPackage;
     4193}
     4194
    41864195bool Unattended::i_isRtcUsingUtc() const
    41874196{
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