Files
Terraform/grail.tf
2024-11-12 22:02:09 -06:00

50 lines
1.0 KiB
HCL

resource "proxmox_vm_qemu" "grail" {
target_node = "pve"
name = "grail-tf"
clone = "Debian12Template"
agent = 0
cores = 10
memory = 4096
#storage = "Junk2"
bootdisk = "scsi0"
vmid = 218
#start = true
tags = "terraform"
# nameserver = "192.168.0.24"
# ssh_public_keys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINFw70PrMsilcsqCrwW1I6PAt3anQbhmVg+t/HUfomug ryan@mxDesktop"
#features {
# nesting = true
#}
#{
#storage = "Junk2"
#size = "32G"
#}
#mountpoint{
# key = "0"
# slot = 0
# storage = "Cephtest"
# mp = "/data"
# size = "400G"
#}
network {
# Name is set automatically based on position in file
# name = "eth0"
model = "virtio"
bridge = "vmbr0"
firewall = false
ip = "192.168.0.57/24"
gw = "192.168.0.1"
}
#provisioner "local-exec" {
# command = "./.ansible.d/setup.sh $IP"
# environment = {
# IP = "192.168.0.57"
# }
#}
}