Compare commits

..

2 Commits

Author SHA1 Message Date
Lukas Greve
f146540ede add location of uefi firmware relative to Fedora, which is now the default 2025-10-18 20:13:19 +02:00
Lukas Greve
369ce1b88d comment fix 2025-10-18 20:12:58 +02:00
2 changed files with 6 additions and 4 deletions

View File

@@ -19,9 +19,11 @@ module "shared_modules" {
image_location = "https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img" image_location = "https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img"
ssh_key = "" ssh_key = ""
enable_cloudinit = true enable_cloudinit = true
# ---- OPTIONAL UEFI SETTINGS ---------------------------------------------- # ---- UEFI SETTINGS ----------------------------------------------
uefi_firmware = "/usr/share/edk2/x64/OVMF_CODE.4m.fd" uefi_firmware = "/usr/share/edk2/ovmf/OVMF_CODE.fd" # Location on Fedora
uefi_nvram_template = "/usr/share/edk2/x64/OVMF_VARS.4m.fd" uefi_nvram_template = "/usr/share/edk2/ovmf/OVMF_VARS.fd" # Location on Fedora
# uefi_firmware = "/usr/share/edk2/x64/OVMF_CODE.4m.fd" # Location on Arch Linux
# uefi_nvram_template = "/usr/share/edk2/x64/OVMF_VARS.4m.fd" # Location on Arch Linux
uefi_nvram_file_suffix = "-uefi" uefi_nvram_file_suffix = "-uefi"
# ---------------------------------------------------------------- # ----------------------------------------------------------------

View File

@@ -8,7 +8,7 @@ resource "libvirt_domain" "domain" {
# The chipset q35, which does not support the IDE bus, does not work with the terraform-provider-libvirt cloud-init implementation, # The chipset q35, which does not support the IDE bus, does not work with the terraform-provider-libvirt cloud-init implementation,
# which creates an ISO attached to an IDE bus by default. Workaround is implemented # which creates an ISO attached to an IDE bus by default. Workaround is implemented
# https://github.com/dmacvicar/terraform-provider-libvirt/issues/1137#issuecomment-2592329846 # https://github.com/dmacvicar/terraform-provider-libvirt/issues/1137#issuecomment-2592329846
# A cleaner solution might be the following : # A cleaner solution might be this one :
# https://github.com/dmacvicar/terraform-provider-libvirt/pull/895#issuecomment-1911167872 # https://github.com/dmacvicar/terraform-provider-libvirt/pull/895#issuecomment-1911167872
xml { xml {