Add an ssh_arguments configuration file field (#211)

Can be used to add SSH command-line arguments like `-o
ConnectTimeout=2`
This commit is contained in:
Fred Morcos
2019-09-01 20:45:44 +02:00
committed by Roey Darwish Dror
parent 6dac7a18b2
commit bfbb486fba
3 changed files with 30 additions and 12 deletions

View File

@@ -132,7 +132,14 @@ fn run() -> Result<(), Error> {
execute(
&mut report,
remote_topgrade,
|| generic::run_remote_topgrade(run_type, remote_topgrade, config.run_in_tmux()),
|| {
generic::run_remote_topgrade(
run_type,
remote_topgrade,
config.ssh_arguments(),
config.run_in_tmux(),
)
},
config.no_retry(),
)?;
}