Can't perform unattended install (Missing UnattendedTemplates)

Task Info (Flyspray)
Opened By Pablo (ErrantOverflow)
Task ID 76767
Type Bug Report
Project Community Packages
Category Packages
Version None
OS x86_64
Opened 2022-12-07 13:07:31 UTC
Status Assigned
Assignee Christian Hesse (eworm)

Details

Description: When attempting to perform an unattended install, be it via the command line or the GUI I will get an error along the lines of:

VBoxManage: error: Failed to open '/usr/share/virtualbox/UnattendedTemplates/win_nt6_unattended.xml' (VERR_FILE_NOT_FOUND)

After closer examination, it seems none of the Virtualbox packages have these template files included. A workaround for now is to download the files manually (I took it from a .deb package) and place them in the corresponding folder.

Steps to reproduce:

  1. Install virtualbox 7.0.4-1

  2. Create a virtual machine

  3. Run the unattended install command:

    $: VBoxManage unattended install "Windows 10 VM" --iso="Win10_22H2_EnglishInternational_x64.iso"