fix: make sure file names align
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-11-30 00:45:25 +01:00
parent bb71f85fdd
commit 80e06acc47
Signed by: kjuulh
GPG Key ID: D85D7535F18F35FA

View File

@ -22,7 +22,7 @@ resource "null_resource" "cloud_init_deb12_node" {
provisioner "file" {
source = local_file.cloud_init_deb12_node.filename
destination = "/var/lib/vz/snippets/cloud_init_deb12_node_${var.name}.yml"
destination = "/var/lib/vz/snippets/cloud_init_deb12_${var.name}.yml"
}
depends_on = [
@ -47,7 +47,7 @@ resource "proxmox_vm_qemu" "node" {
os_type = "cloud-init"
# Cloud init options
cicustom = "vendor=local:snippets/cloud_init_deb12_node.yml"
cicustom = "vendor=local:snippets/cloud_init_deb12_${var.name}.yml"
ipconfig0 = "ip=${var.ip_address},gw=${var.gateway}"
cores = var.cpu