From 248276dda94f1f393e799eb63c9bed4c8b8772a5 Mon Sep 17 00:00:00 2001 From: Alexander Bleissem Date: Fri, 3 Aug 2018 14:52:57 +0200 Subject: [PATCH] create fixed VHD format disk according to https://www.packer.io/docs/builders/hyperv-iso.html#use_fixed_vhd_format this creates the boot disk on the virtual machine as a fixed VHD format disk --- alpinehv.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/alpinehv.json b/alpinehv.json index 814d284..fadb655 100644 --- a/alpinehv.json +++ b/alpinehv.json @@ -7,6 +7,7 @@ "iso_checksum_type": "sha256", "disk_size": "512", "skip_compaction": "true", + "use_fixed_vhd_format": "true", "communicator": "ssh", "ssh_username": "root", "ssh_password": "alpine", @@ -57,4 +58,4 @@ "script": "provision.sh" } ] -} \ No newline at end of file +}