Working Template - tested with music
This commit is contained in:
@@ -7,11 +7,11 @@ locals {
|
||||
|
||||
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}
|
||||
|
||||
Reference in New Issue
Block a user