Update terraform/main.tf
This commit is contained in:
@@ -16,7 +16,12 @@ resource "proxmox_vm_qemu" "vm1" {
|
||||
type = "disk"
|
||||
storage = "zfs1"
|
||||
}
|
||||
|
||||
# Cloud-init drive toevoegen
|
||||
ide2 {
|
||||
storage = "zfs1"
|
||||
size = "4G"
|
||||
type = "cloudinit"
|
||||
}
|
||||
network {
|
||||
id = 0
|
||||
model = "virtio"
|
||||
@@ -27,4 +32,7 @@ resource "proxmox_vm_qemu" "vm1" {
|
||||
ipconfig0 = "ip=dhcp"
|
||||
ciuser = "ubuntu"
|
||||
sshkeys = var.ssh_public_key
|
||||
agent = 1
|
||||
scsihw = "virtio-scsi-pci"
|
||||
machine = "q35"
|
||||
}
|
||||
Reference in New Issue
Block a user