Commit 7f9b04a9 authored by Bjørn Forsman's avatar Bjørn Forsman
Browse files

virtualbox: install UnattendedTemplates

Fix automated/unattended guest installs by having the missing templates
where virtualbox expects them.

Fixes #247807.
parent 8639573e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -212,6 +212,9 @@ in stdenv.mkDerivation {
    ''}

    cp -rv out/linux.*/${buildType}/bin/src "$modsrc"

    mkdir -p "$out/share/virtualbox"
    cp -rv src/VBox/Main/UnattendedTemplates "$out/share/virtualbox"
  '';

  preFixup = optionalString (!headless) ''