add startup_shutdown to qemu vms to avoid metadata reset [ci skip]
This commit is contained in:
parent
3f5a74b923
commit
b5924ad59b
1 changed files with 5 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue