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"