Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661314 - app-emulation/virtualbox: UnattendedTemplates missing
Summary: app-emulation/virtualbox: UnattendedTemplates missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-16 11:52 UTC by Frank Meier
Modified: 2018-07-16 12:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild that also installs unattended templates (virtualbox-5.2.14-r1.ebuild,13.46 KB, text/plain)
2018-07-16 11:52 UTC, Frank Meier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Meier 2018-07-16 11:52:00 UTC
Created attachment 539710 [details]
ebuild that also installs unattended templates

with installed app-emulation/virtualbox-5.2.14 I tried to use the unattended install feature. But I got the following Error:

-----------------------
$ VBoxManage unattended install centos7-test --iso=./CentOS-7-x86_64-Minimal-1804.iso
VBoxManage: info: Preparing unattended installation of RedHat_64 in machine 'centos7-test' (45bbc115-2de9-47ea-ae4d-f959b5639778).
VBoxManage: error: Failed to open '/usr/share/virtualbox/UnattendedTemplates/redhat67_ks.cfg' (VERR_FILE_NOT_FOUND)
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component UnattendedWrap, interface IUnattended, callee nsISupports
VBoxManage: error: Context: "Prepare()" at line 1643 of file VBoxManageMisc.cpp
-----------------------

The reason for this is, that the UnattendedTemplates are not being installed in '/usr/share/virtualbox/UnattendedTemplates' by the ebuild.

I added the line "doins -r UnattendedTemplates" in the src_install() of a copy of the ebuild, and it worked fine.

See Attached ebuild

Cheers,