mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-05 05:24:01 +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 {
|
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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -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 {
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user