summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorEvgeny Egorochkin <phreedom@yandex.ru>2016-03-13 00:48:53 +0200
committerEvgeny Egorochkin <phreedom@yandex.ru>2016-03-13 13:57:30 +0200
commit0d4e5649dc3047e05b8eabed5b5a6b945b078c19 (patch)
tree1dad154ef1f8bb913f4080df0f97b9441bbfba2a /nixos
parent7a4684bee1c7e3eb6e8f0ee27a85244e22ce9dff (diff)
downloadnixlib-0d4e5649dc3047e05b8eabed5b5a6b945b078c19.tar
nixlib-0d4e5649dc3047e05b8eabed5b5a6b945b078c19.tar.gz
nixlib-0d4e5649dc3047e05b8eabed5b5a6b945b078c19.tar.bz2
nixlib-0d4e5649dc3047e05b8eabed5b5a6b945b078c19.tar.lz
nixlib-0d4e5649dc3047e05b8eabed5b5a6b945b078c19.tar.xz
nixlib-0d4e5649dc3047e05b8eabed5b5a6b945b078c19.tar.zst
nixlib-0d4e5649dc3047e05b8eabed5b5a6b945b078c19.zip
virtualization/azure: make the image dynamic again since azure-cli upload bug is fixed
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/virtualisation/azure-image.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/azure-image.nix b/nixos/modules/virtualisation/azure-image.nix
index f7949b501375..9dc0ce119929 100644
--- a/nixos/modules/virtualisation/azure-image.nix
+++ b/nixos/modules/virtualisation/azure-image.nix
@@ -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";