1
0
Fork 0
mirror of https://cgit.krebsco.de/krops synced 2024-11-26 21:19:47 +01:00

add target.extraOptions

This commit is contained in:
Erik Arvstedt 2020-04-18 23:05:18 +02:00
parent 9c16ab1ce1
commit 2cafddd78d
3 changed files with 3 additions and 0 deletions

View file

@ -52,6 +52,7 @@ let {
port = default "22" /* "ssh"? */ (elemAt' parse 5);
path = default "/var/src" /* no default? */ (elemAt' parse 6);
sudo = false;
extraOptions = [];
} else s;
shell = let

View file

@ -23,6 +23,7 @@ in
(lib.optionals (target.user != "") ["-l" target.user])
"-p" target.port
"-t"
target.extraOptions
target.host
(if target.sudo then "sudo ${command}" else command)])}
'';

View file

@ -194,6 +194,7 @@ let
"-o" "ControlPersist=no"
"-p" target.port
"-T"
target.extraOptions
]);
in