terraform: disable secure boot for QEMU / MiniConstellation

This commit is contained in:
Malte Poll 2023-09-18 12:18:22 +02:00 committed by Malte Poll
parent 3543fe140e
commit 4e2b9745bb
4 changed files with 5 additions and 5 deletions

View file

@ -360,9 +360,9 @@ func (q *QEMUVariables) String() string {
vCopy := *q
switch vCopy.NVRAM {
case "production":
vCopy.NVRAM = "/usr/share/OVMF/constellation_vars.production.fd"
vCopy.NVRAM = "/usr/share/OVMF/OVMF_VARS.fd"
case "testing":
vCopy.NVRAM = "/usr/share/OVMF/constellation_vars.testing.fd"
vCopy.NVRAM = "/usr/share/OVMF/OVMF_VARS.fd"
}
f := hclwrite.NewEmptyFile()
gohcl.EncodeIntoBody(vCopy, f.Body())