Skip to content

Commit

Permalink
Merge pull request clong#638 from stavhaygn/master
Browse files Browse the repository at this point in the history
Fix Packer - QEMU doesn't boot to ISO image.
  • Loading branch information
clong authored Apr 13, 2021
2 parents ce98f6e + 213898d commit 9846101
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Packer/windows_10.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
4 changes: 4 additions & 0 deletions Packer/windows_2016.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit 9846101

Please sign in to comment.