add startup_shutdown to qemu vms to avoid metadata reset [ci skip]

This commit is contained in:
Viktor Barzin 2025-12-29 10:19:22 +00:00
parent 3f5a74b923
commit b5924ad59b
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863

View file

@ -61,6 +61,11 @@ resource "proxmox_vm_qemu" "cloudinit-vm" {
cores = var.vm_cpus
type = "host" # emulate host cpu
}
startup_shutdown {
order = -1
shutdown_timeout = -1
startup_delay = -1
}
# Most cloud-init images require a serial device for their display
serial {