Working Template - tested with music

This commit is contained in:
CC
2026-09-12 14:52:52 +01:00
parent 0008f84eba
commit 9646a02b5c
6 changed files with 52 additions and 41 deletions

View File

@@ -1,10 +1,10 @@
resource "proxmox_virtual_environment_file" "cloud_config" {
content_type = "snippets"
datastore_id = "local"
node_name = "pop"
datastore_id = "hlst"
node_name = "${var.node_name}"
source_raw {
file_name = "vm.cloud-config.yaml" # The name of the snippet file
file_name = "${var.vm_name}_vm.cloud-config.yaml" # The name of the snippet file
data = <<-EOF
#cloud-config
hostname: ${var.vm_name}