From 1a7e3e414dd826884611182eaae02bcc677b058b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Limpinho?= <53994778+TomasLimpinho@users.noreply.github.com> Date: Wed, 20 Aug 2025 16:31:03 +0100 Subject: [PATCH] name change --- proxmox.tf | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/proxmox.tf b/proxmox.tf index 70f9bc4..5405a9a 100644 --- a/proxmox.tf +++ b/proxmox.tf @@ -11,9 +11,8 @@ resource "proxmox_virtual_environment_download_file" "Fedora-iso" { content_type = "iso" # tipo do arquivo datastore_id = "local" # datastore do Proxmox onde o arquivo será guardado node_name = "fenix" # nó do Proxmox onde será armazenado - - target_path = "/var/lib/vz/template/iso/iac-Fedora-Workstation-Live-x86_64-41-1.4.iso" - url = "https://download.fedoraproject.org/pub/fedora/linux/releases/41/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-41-1.4.iso" + file_name = "IAC-Fedora-Workstation-Live-x86_64-41-1.4.iso" + url = "https://download.fedoraproject.org/pub/fedora/linux/releases/41/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-41-1.4.iso" } resource "proxmox_virtual_environment_vm" "proxmox-kubernetes-VM-template" { @@ -51,8 +50,7 @@ resource "proxmox_virtual_environment_vm" "proxmox-kubernetes-VM-template" { # Configuração do CD-ROM com a ISO cdrom { - enabled = true - file_id = "local:iso/iac-Fedora-Workstation-Live-x86_64-41-1.4.iso" + file_id = proxmox_virtual_environment_download_file.Fedora-iso.id }