switch grail to vm

This commit is contained in:
tolerryan
2024-11-06 23:26:53 -06:00
parent 2abc8767ba
commit d76784565e

View File

@@ -1,26 +1,25 @@
resource "proxmox_lxc" "grail" { resource "proxmox_vm_qemu" "grail" {
target_node = "pve" target_node = "pve"
hostname = "grail-tf" name = "grail-tf"
vmid = 218 clone = "Debian12Template"
ostemplate = "local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst" agent = 0
password = "terraform"
unprivileged = true
cores = 10 cores = 10
memory = 4096 memory = 4096
swap = 1024
vmid = 218
start = true start = true
tags = "terraform" tags = "terraform"
nameserver = "192.168.0.24" # nameserver = "192.168.0.24"
ssh_public_keys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINFw70PrMsilcsqCrwW1I6PAt3anQbhmVg+t/HUfomug ryan@mxDesktop" # ssh_public_keys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINFw70PrMsilcsqCrwW1I6PAt3anQbhmVg+t/HUfomug ryan@mxDesktop"
features { features {
nesting = true nesting = true
} }
rootfs { #rootfs {
storage = "Junk2" storage = "Junk2"
size = "32G" size = "32G"
} #}
mountpoint{ mountpoint{
key = "0" key = "0"