Open kidmose opened 3 years ago
I marked this as stale due to inactivity. → More info
This is still a problem as of 2e4c842b4f9a9e3b9ed75f97e052829f4e29ca13
.
The following overlay works around it btw:
nixpkgs.overlays = [
(self: super:
{
virtualbox = pkgs.virtualbox.overrideDerivation (oldAttrs: {
postFixup = ''
ln -s ../../libexec/virtualbox/UnattendedTemplates $out/share/virtualbox/UnattendedTemplates
'';
});
})
];
Describe the bug Virtualbox has a feature for unattended installation of gues OSs (
VBoxManage unattended
) which fails to find a template file.To Reproduce Steps to reproduce the behavior:
Install virtualbox
6.1.16r140961
coming fromhttps://channels.nixos.org/nixos-20.09
with this inconfiguration.nix
:VBoxManage unattended install $VM --iso=/u01/Software/en_windows_10_pro_10240_x64_dvd.iso --user=scoter --full-user-name="Mr. Coter" --password secret --time-zone=UTC
Expected behavior I expected
VBoxManage unattended
to proceed with installing the operating system, and to not produce the above error.Additional context I have the file mentioned as missing in the error message, sitting in my nix store here:
Note the
libexec
vs. theshare
.I'd be happy to try to fix it. As my first contribution, I expect a bit of mentoring would greatly increase the chance of it getting into master. Can I expect that someone has the time and interest to do that?
Notify maintainers @sander
Metadata Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information: