Merge pull request 'name change' (#30) from fenix-admin into main

Reviewed-on: fenix-gitea-admin/iac-teste#30
This commit is contained in:
2025-08-20 15:32:08 +00:00

View File

@ -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
}