diff --git a/docs/guides/cloud-image.md b/docs/guides/cloud-image.md index 104ad42c..2ba46c06 100644 --- a/docs/guides/cloud-image.md +++ b/docs/guides/cloud-image.md @@ -19,6 +19,9 @@ resource "proxmox_virtual_environment_vm" "centos_vm" { name = "test-centos" node_name = "pve" + # should be true if qemu agent is not installed / enabled on the VM + stop_on_destroy = true + initialization { user_account { # do not use this in production, configure your own ssh key instead! @@ -53,6 +56,9 @@ resource "proxmox_virtual_environment_vm" "ubuntu_vm" { name = "test-ubuntu" node_name = "pve" + # should be true if qemu agent is not installed / enabled on the VM + stop_on_destroy = true + initialization { user_account { # do not use this in production, configure your own ssh key instead! @@ -90,6 +96,9 @@ resource "proxmox_virtual_environment_vm" "debian_vm" { name = "test-debian" node_name = "pve" + # should be true if qemu agent is not installed / enabled on the VM + stop_on_destroy = true + initialization { user_account { # do not use this in production, configure your own ssh key instead! diff --git a/examples/guides/cloud-image/centos-qcow2/main.tf b/examples/guides/cloud-image/centos-qcow2/main.tf index 408e64b7..f9a5ad94 100644 --- a/examples/guides/cloud-image/centos-qcow2/main.tf +++ b/examples/guides/cloud-image/centos-qcow2/main.tf @@ -2,6 +2,9 @@ resource "proxmox_virtual_environment_vm" "centos_vm" { name = "test-centos" node_name = "pve" + # should be true if qemu agent is not installed / enabled on the VM + stop_on_destroy = true + initialization { user_account { # do not use this in production, configure your own ssh key instead! diff --git a/examples/guides/cloud-image/debian-from-storage/main.tf b/examples/guides/cloud-image/debian-from-storage/main.tf index 3aac2598..10ef21ed 100644 --- a/examples/guides/cloud-image/debian-from-storage/main.tf +++ b/examples/guides/cloud-image/debian-from-storage/main.tf @@ -2,6 +2,9 @@ resource "proxmox_virtual_environment_vm" "debian_vm" { name = "test-debian" node_name = "pve" + # should be true if qemu agent is not installed / enabled on the VM + stop_on_destroy = true + initialization { user_account { # do not use this in production, configure your own ssh key instead! diff --git a/examples/guides/cloud-image/ubuntu-img/main.tf b/examples/guides/cloud-image/ubuntu-img/main.tf index ef33c3c3..9138dc08 100644 --- a/examples/guides/cloud-image/ubuntu-img/main.tf +++ b/examples/guides/cloud-image/ubuntu-img/main.tf @@ -2,6 +2,9 @@ resource "proxmox_virtual_environment_vm" "ubuntu_vm" { name = "test-ubuntu" node_name = "pve" + # should be true if qemu agent is not installed / enabled on the VM + stop_on_destroy = true + initialization { user_account { # do not use this in production, configure your own ssh key instead!