forked from M-Labs/nix-scripts
wfvm: allow network access in SSH demo
This commit is contained in:
parent
0ba8000660
commit
5ab186e3dc
|
@ -6,6 +6,7 @@ in
|
||||||
wfvm.utils.wfvm-run {
|
wfvm.utils.wfvm-run {
|
||||||
name = "demo-ssh";
|
name = "demo-ssh";
|
||||||
image = import ./demo-image.nix { inherit pkgs; };
|
image = import ./demo-image.nix { inherit pkgs; };
|
||||||
|
isolateNetwork = false;
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.sshpass}/bin/sshpass -p1234 -- ${pkgs.openssh}/bin/ssh -p 2022 wfvm@localhost -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
|
${pkgs.sshpass}/bin/sshpass -p1234 -- ${pkgs.openssh}/bin/ssh -p 2022 wfvm@localhost -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue