fix!: update ovmf paths.

This commit is contained in:
redxef 2024-11-11 14:59:22 +01:00
parent 4512b0d626
commit 798905294f
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -26,9 +26,9 @@ CONFIG_PATH_ARGUMENTS_SPECIFIC="$CONFIG_PATH/$VMNAME/arguments.d"
[[ -e "$CONFIG_PATH/pre-config-$VMNAME" ]] && SUDO="$SUDO" "$CONFIG_PATH/pre-config-$VMNAME"
# efi variables
EFI_FIRMWARE=/usr/share/ovmf/x64/OVMF_CODE.secboot.fd
EFI_FIRMWARE=/usr/share/ovmf/x64/OVMF_CODE.secboot.4m.fd
EFI_VARS="$($SUDO mktemp)"
$SUDO cp /usr/share/ovmf/x64/OVMF_VARS.fd "$EFI_VARS"
$SUDO cp /usr/share/ovmf/x64/OVMF_VARS.4m.fd "$EFI_VARS"
# setup network
NET_CONF_FILE="$($SUDO mktemp)"