virtualisation/qemu-vm: escape bash variable in shell script
Fixes #229729
This commit is contained in:
parent
35e6df34dc
commit
996db6d059
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