resource "proxmox_vm_qemu" "ubuntu2404_vm" { name = "terraform-vm" target_node = "nuctyzyzen7-1" vmid = 9505 clone = "ubuntu-2404-ci-template" # Kloon de template full_clone = true cores = 2 sockets = 1 memory = 4096 scsihw = "virtio-scsi-pci" machine = "q35" agent = 1 # Eventuele extra disk toevoegen, maar voor bootdisk hoef je niets te doen # cloud-init CD wordt automatisch aangemaakt disk { slot = "scsi1" type = "cdrom" storage = "zfs1" } network { id = 0 model = "virtio" bridge = "vmbr0" } # Cloud-init configuratie os_type = "cloud-init" ciuser = "martijn" cipassword = "Gwh28dgcmp!" ipconfig0 = "ip=dhcp" searchdomain = "domain.local" nameserver = "192.168.178.1" }