name config and storage snippet change

This commit is contained in:
CC
2026-09-12 13:56:40 +01:00
parent 697ae3cc0d
commit 19cf6588e0

View File

@@ -1,10 +1,10 @@
resource "proxmox_virtual_environment_file" "cloud_config" {
content_type = "snippets"
datastore_id = "local"
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}