Skip to content

Commit

Permalink
updated ubuntu-arm64.qemu.pkr.hcl
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Jun 12, 2023
1 parent 611800b commit 713acfa
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions ubuntu-arm64.qemu.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,15 @@ source "qemu" "ubuntu" {
ssh_password = "packer"
shutdown_command = "echo 'packer' | sudo -S shutdown -P now"
boot_wait = "5s"
boot_steps = [
["c<wait>"],
# XXX: must single quotes the ds=... arg to prevent grub from interpreting the semicolon as a terminator
# https://cloudinit.readthedocs.io/en/latest/reference/datasources/nocloud.html
["linux /casper/vmlinuz autoinstall 'ds=nocloud-net;s=http://{{.HTTPIP}}:{{.HTTPPort}}/' <enter><wait>"],
["initrd /casper/initrd <enter><wait>"],
["boot <enter>"]
]
# being sent to the qemu shell right now, uncomment after resolved - https://github.com/hashicorp/packer-plugin-qemu/issues/145
#boot_steps = [
# ["c<wait>"],
# # XXX: must single quotes the ds=... arg to prevent grub from interpreting the semicolon as a terminator
# # https://cloudinit.readthedocs.io/en/latest/reference/datasources/nocloud.html
# ["linux /casper/vmlinuz autoinstall 'ds=nocloud-net;s=http://{{.HTTPIP}}:{{.HTTPPort}}/' <enter><wait>"],
# ["initrd /casper/initrd <enter><wait>"],
# ["boot <enter>"]
#]
qemuargs = [
#["-bios", "/opt/homebrew/share/qemu/bios.bin"],
#["-bios", "/opt/homebrew/share/qemu/edk2-aarch64-code.fd"],
Expand Down

0 comments on commit 713acfa

Please sign in to comment.