fix!: update ovmf paths.
This commit is contained in:
parent
4512b0d626
commit
798905294f
1 changed files with 2 additions and 2 deletions
4
qemu-vm
4
qemu-vm
|
@ -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"
|
[[ -e "$CONFIG_PATH/pre-config-$VMNAME" ]] && SUDO="$SUDO" "$CONFIG_PATH/pre-config-$VMNAME"
|
||||||
|
|
||||||
# efi variables
|
# 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)"
|
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
|
# setup network
|
||||||
NET_CONF_FILE="$($SUDO mktemp)"
|
NET_CONF_FILE="$($SUDO mktemp)"
|
||||||
|
|
Loading…
Add table
Reference in a new issue