From 7cfbcc7d179d6f5327bf358989e1033494ba745a Mon Sep 17 00:00:00 2001 From: Matt Reeves Date: Sat, 10 Aug 2024 23:21:12 -0400 Subject: [PATCH] fixing broken URL for template --- terraform/ubuntu22-template.tf | 10 +--------- terraform/windows.tf | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/terraform/ubuntu22-template.tf b/terraform/ubuntu22-template.tf index 1a473d0..c2df9e8 100644 --- a/terraform/ubuntu22-template.tf +++ b/terraform/ubuntu22-template.tf @@ -8,7 +8,7 @@ resource "proxmox_virtual_environment_vm" "Ubuntu-22-Template" { disk { datastore_id = "Fast2Tb" - file_id = proxmox_virtual_environment_download_file.ubuntu_cloud_image_22.id + file_id = "local:iso/jammy-server-cloudimg-amd64.img" interface = "scsi0" size = 4 } @@ -38,11 +38,3 @@ vga { } } - - -resource "proxmox_virtual_environment_download_file" "ubuntu_cloud_image_22" { - content_type = "iso" - datastore_id = "local" - node_name = "prox" - url = "https://cloud-images.ubuntu.com/jammy/20240720/jammy-server-cloudimg-amd64.img" -} diff --git a/terraform/windows.tf b/terraform/windows.tf index 9d5e276..46b6786 100644 --- a/terraform/windows.tf +++ b/terraform/windows.tf @@ -3,7 +3,7 @@ resource "proxmox_virtual_environment_vm" "Windows11" { node_name = "pve2" vm_id = 250 tags = ["tofu"] - started = true + started = false bios = "ovmf" machine = "q35"