Skip to content
Snippets Groups Projects
Commit 6d41eff0 authored by Root at selen's avatar Root at selen
Browse files

Fix place of OVMF file (Arch linux updated)

parent 16b86e64
No related branches found
No related tags found
No related merge requests found
......@@ -409,7 +409,7 @@ def start(ucred, vm: str, display: bool = None):
r("VBoxManage", "startvm", vm, "--type=headless")
elif backend == backend_qemu:
if not os.path.exists(vm_dir(vm)+"OVMF.fd"):
r("cp", "/usr/share/edk2-ovmf/x64/OVMF.fd", vm_dir(vm)+"OVMF.fd")
r("cp", "/usr/share/edk2-ovmf/x64/OVMF.4m.fd", vm_dir(vm)+"OVMF.fd")
with open(vm_dir(vm)+"run-qemu", "w") as f:
cmd = S-f"""
qemu-system-x86_64 -enable-kvm \\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment