diff options
| author | Loic Guegan <loic.guegan@mailbox.org> | 2023-10-27 13:35:19 +0200 |
|---|---|---|
| committer | Loic Guegan <loic.guegan@mailbox.org> | 2023-10-27 13:35:19 +0200 |
| commit | eb0864ac65be62e60272f539d429f32a29ed8b7d (patch) | |
| tree | 621f92872e53db79584cdfcb3da3295f2b4e05d2 /clusterman | |
| parent | 4066d4ff4575fcdd3decd50c31c465acbe368512 (diff) | |
Minor changes
Diffstat (limited to 'clusterman')
| -rw-r--r-- | clusterman/commands/node.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clusterman/commands/node.py b/clusterman/commands/node.py index dd50d5b..1ecd385 100644 --- a/clusterman/commands/node.py +++ b/clusterman/commands/node.py @@ -95,8 +95,8 @@ def exec(command): print("----- Node {} -----".format(ip)) if len(key_path)>0: output=subprocess.check_output(["ssh","-o", "StrictHostKeyChecking=no", "-i", CONF["ssh"]["key_path"],"{}@{}".format(user,ip), " ".join(command)]) - print(output.decode("utf-8")) + print(output.decode("utf-8"),end="") else: output=subprocess.check_output(["ssh","-o", "StrictHostKeyChecking=no", "{}@{}".format(user,ip), " ".join(command)]) - print(output.decode("utf-8")) + print(output.decode("utf-8"),end="") |
