Merge pull request #229845 from pitkling/fix/qemu-vm-escape-variable
virtualisation/qemu-vm: fix unescaped bash variable in shell script
This commit is contained in:
commit
cddc413c66
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ let
|
|||
${concatStringsSep " \\\n" ([ "-f qcow2" ]
|
||||
++ optional (cfg.useBootLoader && cfg.useDefaultFilesystems) "-F qcow2 -b ${systemImage}/nixos.qcow2"
|
||||
++ optional (!(cfg.useBootLoader && cfg.useDefaultFilesystems)) "-o size=${toString config.virtualisation.diskSize}M"
|
||||
++ [ "$NIX_DISK_IMAGE" ])}
|
||||
++ [ ''"$NIX_DISK_IMAGE"'' ])}
|
||||
echo "Virtualisation disk image created."
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue