From c89ccd9f873394e2e8b515a870b21d0a4bec8306 Mon Sep 17 00:00:00 2001 From: Fabrice Normandin Date: Mon, 25 Sep 2023 15:26:32 -0400 Subject: [PATCH] Re-add the "User" in DRAC entries Signed-off-by: Fabrice Normandin --- milatools/cli/init_command.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/milatools/cli/init_command.py b/milatools/cli/init_command.py index 4d2290bc..14509cd7 100644 --- a/milatools/cli/init_command.py +++ b/milatools/cli/init_command.py @@ -255,7 +255,8 @@ def add_drac_entries(ssh_config: SSHConfig, drac_username: str): _add_ssh_entry( ssh_config, host="beluga cedar graham narval niagara", - Hostname="%h.computecanada.ca", # note: would be made redundant by the Match entry below + Hostname="%h.computecanada.ca", + User=drac_username, # note: would be made redundant by the Match entry below ) _add_ssh_entry( ssh_config,