Merge pull request #325619 from MatthewCroughan/mc/vmtools-custom-qemu

vmTools: allow qemu to be overridden via customQemu argument
This commit is contained in:
lassulus 2024-07-18 16:07:23 +02:00 committed by GitHub
commit cb1303b5bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,6 @@
{ lib
, pkgs
, customQemu ? null
, kernel ? pkgs.linux
, img ? pkgs.stdenv.hostPlatform.linux-kernel.target
, storeDir ? builtins.storeDir
@ -218,7 +219,7 @@ rec {
qemuCommandLinux = ''
${qemu-common.qemuBinary qemu} \
${if (customQemu != null) then customQemu else (qemu-common.qemuBinary qemu)} \
-nographic -no-reboot \
-device virtio-rng-pci \
-virtfs local,path=${storeDir},security_model=none,mount_tag=store \