diff --git a/proxmox.tf b/proxmox.tf index 9a45680..9448ed9 100644 --- a/proxmox.tf +++ b/proxmox.tf @@ -24,29 +24,37 @@ resource "proxmox_virtual_environment_download_file" "latest_ubunto_cloud_img" { } resource "proxmox_virtual_environment_file" "cloud_init_yaml" { - node_name = "fenix" - datastore_id = "local" content_type = "snippets" + datastore_id = "local" + node_name = var.virtual_environment_node_name + source_raw { - file_name = "cloud-init-qga.yaml" - data = < /tmp/cloud-config.done EOF + + file_name = "user-data-cloud-config.yaml" } }