resource "proxmox_vm_qemu" "grail" { target_node = "pve" name = "grail-tf" clone = "Debian12-8Template" agent = 0 cores = 10 memory = 4096 #storage = "Junk2" bootdisk = "scsi0" scsihw = "virtio-scsi-single" vmid = 218 #start = true tags = "terraform" define_connection_info = true os_type = "ubuntu" os_network_config = "ubuntu" nameserver = "192.168.0.24" ipconfig0 = "ip=192.168.0.57/24,gw=192.168.0.1" #ssh_public_keys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINFw70PrMsilcsqCrwW1I6PAt3anQbhmVg+t/HUfomug ryan@mxDesktop" disks{ scsi{ scsi0{ disk{ storage = "nvme" asyncio = "threads" discard = true iothread = true size = "42G" emulatessd = true } } } ide { ide2 { cloudinit { storage = "Ceph" } } } } #mountpoint{ # key = "0" # slot = 0 # storage = "Ceph" # mp = "/data" # size = "400G" #} network { # Name is set automatically based on position in file # name = "eth0" model = "virtio" bridge = "vmbr0" firewall = false } provisioner "local-exec" { command = "./.ansible.d/setup.sh $IP" environment = { IP = "192.168.0.57" } } }