diff options
| author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2023-08-15 20:54:29 +0200 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-08-16 13:21:27 +0000 |
| commit | 97d11e3c5d044f286606dee7836d5579b5b1b5c3 (patch) | |
| tree | 9d389e30e752a12de9baaf021c7726389baeecbd | |
| parent | virtualbox: 7.0.8 -> 7.0.10 (diff) | |
| download | nixpkgs-origin/backport-249376-to-release-23.05.tar.gz | |
virtualbox: install UnattendedTemplatesorigin/backport-249376-to-release-23.05
Fix automated/unattended guest installs by having the missing templates
where virtualbox expects them.
Fixes #247807.
(cherry picked from commit fcb2abcb9c94d3db952a2ef1dafd752f0abf32e9)
| -rw-r--r-- | pkgs/applications/virtualization/virtualbox/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/virtualization/virtualbox/default.nix b/pkgs/applications/virtualization/virtualbox/default.nix index 38eb794426fe..b81438606722 100644 --- a/pkgs/applications/virtualization/virtualbox/default.nix +++ b/pkgs/applications/virtualization/virtualbox/default.nix @@ -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) '' |
