0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-05 13:33:58 +00:00

chore(docs): minor fixes / updates in guides (#2014)

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
This commit is contained in:
Pavel Boldyrev 2025-06-30 22:07:30 -04:00 committed by GitHub
parent b601ca3ed2
commit 8c2a071b40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 18 additions and 11 deletions

View File

@ -109,11 +109,12 @@ resource "proxmox_virtual_environment_vm" "debian_vm" {
disk { disk {
datastore_id = "local-lvm" datastore_id = "local-lvm"
file_id = "local:iso/debian-12-genericcloud-amd64.img" # qcow2 image downloaded from https://cloud.debian.org/images/cloud/bookworm/latest/ and renamed to *.img
interface = "virtio0" file_id = "local:iso/debian-12-genericcloud-amd64.img"
iothread = true interface = "virtio0"
discard = "on" iothread = true
size = 20 discard = "on"
size = 20
} }
} }
``` ```

View File

@ -21,6 +21,9 @@ resource "proxmox_virtual_environment_vm" "ubuntu_vm" {
name = "test-ubuntu" name = "test-ubuntu"
node_name = "pve" node_name = "pve"
# should be true if qemu agent is not installed / enabled on the VM
stop_on_destroy = true
initialization { initialization {
ip_config { ip_config {
ipv4 { ipv4 {

View File

@ -15,11 +15,11 @@ resource "proxmox_virtual_environment_vm" "debian_vm" {
disk { disk {
datastore_id = "local-lvm" datastore_id = "local-lvm"
file_id = "local:iso/debian-12-genericcloud-amd64.img" # qcow2 image downloaded from https://cloud.debian.org/images/cloud/bookworm/latest/ and renamed to *.img
interface = "virtio0" file_id = "local:iso/debian-12-genericcloud-amd64.img"
iothread = true interface = "virtio0"
discard = "on" iothread = true
size = 20 discard = "on"
size = 20
} }
} }

View File

@ -6,6 +6,9 @@ resource "proxmox_virtual_environment_vm" "ubuntu_vm" {
name = "test-ubuntu" name = "test-ubuntu"
node_name = "pve" node_name = "pve"
# should be true if qemu agent is not installed / enabled on the VM
stop_on_destroy = true
initialization { initialization {
ip_config { ip_config {
ipv4 { ipv4 {