Skip to content

Commit

Permalink
add ovmf suffix to VARS file (#276)
Browse files Browse the repository at this point in the history
Fixes #275
  • Loading branch information
hector-cao authored Nov 18, 2024
1 parent 8639ee3 commit 6d414da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ubuntu/ubuntu-cloudimg.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ build {

provisioner "shell-local" {
inline = [
"cp /usr/share/${lookup(local.uefi_imp, var.architecture, "")}/${lookup(local.uefi_imp, var.architecture, "")}_VARS.fd ${lookup(local.uefi_imp, var.architecture, "")}_VARS.fd",
"cp /usr/share/${lookup(local.uefi_imp, var.architecture, "")}/${lookup(local.uefi_imp, var.architecture, "")}_VARS${var.ovmf_suffix}.fd ${lookup(local.uefi_imp, var.architecture, "")}_VARS.fd",
"cloud-localds seeds-cloudimg.iso user-data-cloudimg meta-data"
]
inline_shebang = "/bin/bash -e"
Expand Down

0 comments on commit 6d414da

Please sign in to comment.