diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 3ed115e..1a82b1e 100644 --- a/src/main.rs +++ b/src/main.rs | |||
| @@ -807,6 +807,10 @@ async fn machine_run( | |||
| 807 | let mut arguments = Vec::default(); | 807 | let mut arguments = Vec::default(); |
| 808 | arguments.push("ssh"); | 808 | arguments.push("ssh"); |
| 809 | arguments.extend(ssh_common); | 809 | arguments.extend(ssh_common); |
| 810 | if ctx.cluster_username().is_ok() { | ||
| 811 | arguments.push("-l"); | ||
| 812 | arguments.push(ctx.cluster_username()?); | ||
| 813 | } | ||
| 810 | arguments.push(machine.hostname()); | 814 | arguments.push(machine.hostname()); |
| 811 | arguments | 815 | arguments |
| 812 | } | 816 | } |
