Update terraform/main.tf
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user