homelab/terraform/arkivet.tf

46 lines
No EOL
900 B
HCL

resource "proxmox_vm_qemu" "arkivet" {
name = "arkivet"
desc = "arkivet"
target_node = "oceanus"
agent = 1
onboot = true
clone = "VM 9000"
cores = 8
sockets = 1
cpu = "host"
memory = 4096
# Setup the disk
disks {
ide {
ide2 {
cloudinit {
storage = "cronus_backup"
}
}
}
scsi {
scsi0 {
disk {
size = "15G"
storage = "maskin"
}
}
}
}
network {
bridge = "vmbr0"
model = "virtio"
}
scsihw = "virtio-scsi-pci"
os_type = "cloud-init"
ipconfig0 = "ip=192.168.1.55/24,gw=192.168.1.1"
nameserver = "192.168.1.69"
ciuser = "ansible"
sshkeys = var.ssh_public_key
}