mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-04 21:14:05 +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:
parent
b601ca3ed2
commit
8c2a071b40
@ -109,11 +109,12 @@ resource "proxmox_virtual_environment_vm" "debian_vm" {
|
||||
|
||||
disk {
|
||||
datastore_id = "local-lvm"
|
||||
file_id = "local:iso/debian-12-genericcloud-amd64.img"
|
||||
interface = "virtio0"
|
||||
iothread = true
|
||||
discard = "on"
|
||||
size = 20
|
||||
# qcow2 image downloaded from https://cloud.debian.org/images/cloud/bookworm/latest/ and renamed to *.img
|
||||
file_id = "local:iso/debian-12-genericcloud-amd64.img"
|
||||
interface = "virtio0"
|
||||
iothread = true
|
||||
discard = "on"
|
||||
size = 20
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -21,6 +21,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 {
|
||||
ip_config {
|
||||
ipv4 {
|
||||
|
@ -15,11 +15,11 @@ resource "proxmox_virtual_environment_vm" "debian_vm" {
|
||||
|
||||
disk {
|
||||
datastore_id = "local-lvm"
|
||||
file_id = "local:iso/debian-12-genericcloud-amd64.img"
|
||||
interface = "virtio0"
|
||||
iothread = true
|
||||
discard = "on"
|
||||
size = 20
|
||||
# qcow2 image downloaded from https://cloud.debian.org/images/cloud/bookworm/latest/ and renamed to *.img
|
||||
file_id = "local:iso/debian-12-genericcloud-amd64.img"
|
||||
interface = "virtio0"
|
||||
iothread = true
|
||||
discard = "on"
|
||||
size = 20
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -6,6 +6,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 {
|
||||
ip_config {
|
||||
ipv4 {
|
||||
|
Loading…
Reference in New Issue
Block a user