windows tests: restrict qemu network
This commit is contained in:
parent
b79576247f
commit
688bc38973
|
@ -16,7 +16,7 @@ let
|
||||||
"-m" qemuMem
|
"-m" qemuMem
|
||||||
"-display" "none"
|
"-display" "none"
|
||||||
"-bios" "${OVMF.fd}/FV/OVMF.fd"
|
"-bios" "${OVMF.fd}/FV/OVMF.fd"
|
||||||
"-netdev" "user,id=n1,hostfwd=tcp::2022-:22" "-device" "e1000,netdev=n1"
|
"-netdev" "user,id=n1,restrict=on,hostfwd=tcp::2022-:22" "-device" "e1000,netdev=n1"
|
||||||
];
|
];
|
||||||
argStr = builtins.concatStringsSep " " (args ++ extraArgs);
|
argStr = builtins.concatStringsSep " " (args ++ extraArgs);
|
||||||
in "qemu-system-x86_64 ${argStr}";
|
in "qemu-system-x86_64 ${argStr}";
|
||||||
|
|
Loading…
Reference in New Issue