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/UnattendedTemplates/debian_postinstall.sh

    r98103 r101683  
    221221echo '** Installing VirtualBox Guest Additions...' | tee -a "${MY_LOGFILE}"
    222222MY_IGNORE_EXITCODE=2  # returned if modules already loaded and reboot required.
    223 log_command_in_target /bin/bash "${MY_CHROOT_CDROM}/vboxadditions/VBoxLinuxAdditions.run" --nox11
     223log_command_in_target /bin/bash "${MY_CHROOT_CDROM}/vboxadditions/@@VBOX_INSERT_ADDITIONS_INSTALL_PACKAGE_NAME@@" --nox11
    224224log_command_in_target /bin/bash -c "udevadm control --reload-rules" # GAs doesn't yet do this.
    225225log_command_in_target /bin/bash -c "udevadm trigger"                 # (ditto)
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