Skip to content

Commit 76487a0

Browse files
committed
Attach Windows 10 iso
1 parent cf3141b commit 76487a0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

windows_10.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,8 @@
2424
"output_directory": "windows_10-qemu",
2525
"qemuargs": [
2626
[
27-
"-drive",
28-
"file=windows_10-qemu/{{ .Name }},if=virtio,cache=writeback,discard=ignore,format=qcow2,index=1"
29-
],
30-
[
31-
"-drive",
32-
"file={{ user `virtio_win_iso` }},media=cdrom,index=3"
27+
"-cdrom",
28+
"{{ user `virtio_win_iso` }}"
3329
]
3430
],
3531
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",

0 commit comments

Comments
 (0)