0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

azure: stop carrying qemu-220 patch

This commit is contained in:
Cole Mickens 2018-06-12 02:03:23 -07:00
parent b224bc1d2b
commit a44a9fdad6
4 changed files with 2 additions and 26 deletions

View file

@ -2,13 +2,13 @@
with lib;
let
diskSize = 30720;
diskSize = 2048;
in
{
system.build.azureImage = import ../../lib/make-disk-image.nix {
name = "azure-image";
postVM = ''
${pkgs.vmTools.qemu-220}/bin/qemu-img convert -f raw -o subformat=fixed -O vpc $diskImage $out/disk.vhd
${pkgs.vmTools.qemu}/bin/qemu-img convert -f raw -o subformat=fixed,force_size -O vpc $diskImage $out/disk.vhd
'';
configFile = ./azure-config-user.nix;
format = "raw";