From 9fc317450ee8e94992408f0c014dc065dcb9e3ad Mon Sep 17 00:00:00 2001 From: diogo464 Date: Tue, 17 Mar 2026 11:32:54 +0000 Subject: fix: CLUSTER_USERNAME when running from frontend the CLUSTER_USERNAME variable was not being used when running from the frontend. --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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( let mut arguments = Vec::default(); arguments.push("ssh"); arguments.extend(ssh_common); + if ctx.cluster_username().is_ok() { + arguments.push("-l"); + arguments.push(ctx.cluster_username()?); + } arguments.push(machine.hostname()); arguments } -- cgit