Merge pull request #121548 from lukegb/bios-usb-better

nixos/tests/installer: fix for i686-linux
This commit is contained in:
Luke Granger-Brown 2021-05-03 17:35:24 +01:00 committed by GitHub
commit 4f9fe889b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ let
else ''
def assemble_qemu_flags():
flags = "-cpu max"
${if system == "x86_64-linux"
${if (system == "x86_64-linux" || system == "i686-linux")
then ''flags += " -m 1024"''
else ''flags += " -m 768 -enable-kvm -machine virt,gic-version=host"''
}