From 45fd3f6485ecb51208adfcb5da52fb932366faf8 Mon Sep 17 00:00:00 2001 From: stavhaygn Date: Mon, 12 Apr 2021 13:47:09 +0800 Subject: [PATCH 1/2] Update windows_2016.json --- Packer/windows_2016.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Packer/windows_2016.json b/Packer/windows_2016.json index c0e5ce807..fa074aa82 100644 --- a/Packer/windows_2016.json +++ b/Packer/windows_2016.json @@ -114,6 +114,10 @@ [ "-drive", "file={{ user `packer_build_dir`}}/{{ .Name }},if=virtio,cache=writeback,discard=ignore,format=qcow2,index=1" + ], + [ + "-drive", + "file={{ user `iso_url` }},media=cdrom,index=2" ] ], "floppy_files": [ From 213898da1aacd2e0efc6ba765617481f181d9060 Mon Sep 17 00:00:00 2001 From: stavhaygn Date: Mon, 12 Apr 2021 13:48:22 +0800 Subject: [PATCH 2/2] Update windows_10.json --- Packer/windows_10.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Packer/windows_10.json b/Packer/windows_10.json index 10c5f60d7..e214577a9 100644 --- a/Packer/windows_10.json +++ b/Packer/windows_10.json @@ -120,6 +120,10 @@ [ "-drive", "file={{ user `packer_build_dir`}}/{{ .Name }},if=virtio,cache=writeback,discard=ignore,format=qcow2,index=1" + ], + [ + "-drive", + "file={{ user `iso_url` }},media=cdrom,index=2" ] ], "floppy_files": [