Skip to content

Commit

Permalink
Attach Windows 10 iso
Browse files Browse the repository at this point in the history
  • Loading branch information
qmfrederik committed Oct 19, 2021
1 parent cf3141b commit 76487a0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions windows_10.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,8 @@
"output_directory": "windows_10-qemu",
"qemuargs": [
[
"-drive",
"file=windows_10-qemu/{{ .Name }},if=virtio,cache=writeback,discard=ignore,format=qcow2,index=1"
],
[
"-drive",
"file={{ user `virtio_win_iso` }},media=cdrom,index=3"
"-cdrom",
"{{ user `virtio_win_iso` }}"
]
],
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
Expand Down

0 comments on commit 76487a0

Please sign in to comment.