wfvm: allow network access in SSH demo

This commit is contained in:
Sebastien Bourdeauducq 2020-06-15 20:09:29 +08:00
parent 0ba8000660
commit 5ab186e3dc
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ in
wfvm.utils.wfvm-run {
name = "demo-ssh";
image = import ./demo-image.nix { inherit pkgs; };
isolateNetwork = false;
script = ''
${pkgs.sshpass}/bin/sshpass -p1234 -- ${pkgs.openssh}/bin/ssh -p 2022 wfvm@localhost -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
'';