Update terraform/main.tf

This commit is contained in:
2026-02-15 11:41:44 +01:00
parent 2051784c70
commit 7e1108e062

View File

@@ -16,7 +16,12 @@ resource "proxmox_vm_qemu" "vm1" {
type = "disk" type = "disk"
storage = "zfs1" storage = "zfs1"
} }
# Cloud-init drive toevoegen
ide2 {
storage = "zfs1"
size = "4G"
type = "cloudinit"
}
network { network {
id = 0 id = 0
model = "virtio" model = "virtio"
@@ -27,4 +32,7 @@ resource "proxmox_vm_qemu" "vm1" {
ipconfig0 = "ip=dhcp" ipconfig0 = "ip=dhcp"
ciuser = "ubuntu" ciuser = "ubuntu"
sshkeys = var.ssh_public_key sshkeys = var.ssh_public_key
agent = 1
scsihw = "virtio-scsi-pci"
machine = "q35"
} }