windows tests: restrict qemu network

stm32-no-overlay
Astro 2019-04-09 21:01:33 +02:00 committed by Sébastien Bourdeauducq
parent b79576247f
commit 688bc38973
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ let
"-m" qemuMem
"-display" "none"
"-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);
in "qemu-system-x86_64 ${argStr}";