From c217ff5e7b4d9be35e604d000506d2c60d52bd59 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Mon, 20 Nov 2023 21:09:23 +0100 Subject: Minor changes --- clusterman/commands/node.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clusterman/commands/node.py') diff --git a/clusterman/commands/node.py b/clusterman/commands/node.py index 057c4d5..ca88043 100644 --- a/clusterman/commands/node.py +++ b/clusterman/commands/node.py @@ -60,9 +60,9 @@ def check(timeout): else: print("Error: Some of your nodes are not reachable") -def exec(command, group=None): +def exec(command, group=None, use_key=False): nodes=utils.get_node_list() if group is None else utils.get_node_in_group(group) for ip in nodes: print("----- Node {} -----".format(ip)) - print(utils.ssh_exec(ip," ".join(command))) + print(utils.ssh_exec(ip," ".join(command),use_key)) -- cgit v1.2.3