From 2a0f887075e5b32bbd0ff00cc068600c96acc36c Mon Sep 17 00:00:00 2001 From: Erwann Roussy Date: Mon, 12 Jan 2026 10:23:22 +0100 Subject: [PATCH] vm_manager_cluster: user libvirtadmin for console Use the libvirtadmin user instead of admin as default user for the console. The libvirtadmin user is a renaming from the livemigration user. Signed-off-by: Erwann Roussy --- vm_manager/vm_manager_cluster.py | 2 +- vm_manager/vm_manager_cmd.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vm_manager/vm_manager_cluster.py b/vm_manager/vm_manager_cluster.py index 68a1a93..56d2a81 100644 --- a/vm_manager/vm_manager_cluster.py +++ b/vm_manager/vm_manager_cluster.py @@ -1139,7 +1139,7 @@ def add_pacemaker_remote( p.add_meta("remote-node", remote_node) -def console(vm_name, ssh_user="admin"): +def console(vm_name, ssh_user="libvirtadmin"): """ Open a virsh console for the given VM :param vm_name: the VM name to open the console diff --git a/vm_manager/vm_manager_cmd.py b/vm_manager/vm_manager_cmd.py index e59796b..f19d4ac 100755 --- a/vm_manager/vm_manager_cmd.py +++ b/vm_manager/vm_manager_cmd.py @@ -426,7 +426,7 @@ def main(): "--ssh-user", type=str, required=False, - default="admin", + default="libvirtadmin", help="SSH user to connect to the VM", )