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:
parent
b224bc1d2b
commit
a44a9fdad6
4 changed files with 2 additions and 26 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue