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": [ 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": [