Minor changes

This commit is contained in:
Loïc Guégan 2023-10-27 12:38:49 +02:00
parent f8d4827e49
commit 719cc32a70

View file

@ -92,4 +92,4 @@ def exec(command):
print(["ssh", "-i", CONF["ssh_key_path"], command])
for ip in get_node_list():
print("----- Node {} -----".format(ip))
subprocess.run(["ssh", "-i", CONF["ssh_key_path"],"root@"+ip, " ".join(command)])
subprocess.run(["ssh","-o", "StrictHostKeyChecking=no", "-i", CONF["ssh_key_path"],"root@"+ip, " ".join(command)])