create multiple-vm project

This commit is contained in:
2025-03-23 22:55:30 +00:00
parent 0513f40af0
commit 3e5d65773c
9 changed files with 70 additions and 27 deletions

View File

@@ -10,7 +10,7 @@ resource "proxmox_virtual_environment_file" "cloud_config" {
datastore_id = "local"
node_name = var.node_name
source_raw {
file_name = "vm.cloud-config.yaml"
file_name = "${var.vm_name}.cloud-config.yaml"
data = <<-EOF
#cloud-config
hostname: ${var.vm_name}