wfvm: fix win-get of directory

This commit is contained in:
Sebastien Bourdeauducq 2020-06-18 01:55:53 +08:00
parent 6d2d0745e0
commit 1bf63a88ad

View File

@ -61,7 +61,7 @@ rec {
echo win-get $1
${pkgs.sshpass}/bin/sshpass -p1234 -- \
${pkgs.openssh}/bin/sftp -r -P 2022 ${sshOpts} \
wfvm@localhost:$1
wfvm@localhost:$1 .
'';
wfvm-run = { name, image, script, display ? false, isolateNetwork ? true, forwardedPorts ? [] }: