Got the FreeBSD 14.0 image working
This commit is contained in:
parent
7dae517aad
commit
ef329da040
@ -11,6 +11,9 @@ variable "proxmox_apitoken" {
|
|||||||
source "proxmox-iso" "freebsd-14" {
|
source "proxmox-iso" "freebsd-14" {
|
||||||
template_name = "freebsd-14"
|
template_name = "freebsd-14"
|
||||||
template_description = "FreeBSD 14.0, generated on ${timestamp()}"
|
template_description = "FreeBSD 14.0, generated on ${timestamp()}"
|
||||||
|
boot_wait = "10s"
|
||||||
|
boot_key_interval = "250ms"
|
||||||
|
boot_command = ["<enter>", "<wait15s>", "<enter><wait1s>", "<enter><wait1s>", "freebsd", "<enter><wait1s>", "<enter><wait1s>", "<enter><wait1s>", "<enter><wait1s>", "<enter><wait1s>", "<enter><wait5s>", "<right><enter><wait1s>", "<enter><wait1s>", "<enter><wait4s>", "<enter><wait1s>", "<enter><wait1s>", " <enter><wait1s>", "<left><enter><wait1s>", "<enter><wait75s>", "packer<enter><wait1s>", "packer<enter><wait1s>", "<down><enter><wait1s>", "95<up><enter><wait1s>", "<enter><wait1s>", "<enter><wait1s>", "<enter><wait1s>", "<enter><wait1s>", "<down><down><down> <enter><wait1s>", "<down><down><down><down><down><down><down><down> <enter><wait1s>", "<enter><wait1s>", "xadmin<enter>", "Remote admin user<enter>", "<enter>", "<enter>", "wheel<enter>", "<enter>", "<enter>", "<enter>", "<enter>", "<enter>", "<enter>", "<enter>", "packer<enter>", "packer<enter>", "<enter>", "<enter>", "<enter><wait1s>", "<enter><wait1s>", "<left><enter><wait1s>", "pkg update && pkg install -y sudo qemu-guest-agent<enter><wait3s>", "y<enter><wait40s>", "echo '%wheel ALL=(ALL:ALL) ALL' > /usr/local/etc/sudoers.d/wheel<enter><wait1s>", "echo 'qemu_guest_agent_enable=\"YES\"' >> /etc/rc.conf<enter><wait1s>", "exit<enter><wait1s>", "<enter><wait40s>"]
|
||||||
# shutdown_command = "echo 'packer' | sudo -S poweroff"
|
# shutdown_command = "echo 'packer' | sudo -S poweroff"
|
||||||
disks {
|
disks {
|
||||||
disk_size = "10G"
|
disk_size = "10G"
|
||||||
|
Loading…
Reference in New Issue
Block a user