virtualization/azure: make the image dynamic again since azure-cli upload bug is fixed

This commit is contained in:
Evgeny Egorochkin 2016-03-13 00:48:53 +02:00
parent 7a4684bee1
commit 0d4e5649dc

View file

@ -23,7 +23,7 @@ in
postVM =
''
mkdir -p $out
${pkgs.vmTools.qemu-220}/bin/qemu-img convert -f raw -O vpc -o subformat=fixed $diskImage $out/disk.vhd
${pkgs.vmTools.qemu-220}/bin/qemu-img convert -f raw -O vpc $diskImage $out/disk.vhd
rm $diskImage
'';
diskImageBase = "nixos-image-${config.system.nixosLabel}-${pkgs.stdenv.system}.raw";