From ece6ae368258620c501bf1c06d6f57597d8ea430 Mon Sep 17 00:00:00 2001 From: bernat Date: Thu, 15 Sep 2005 14:49:58 +0200 Subject: [PATCH] Marchera mieux si on indique la machine... darcs-hash:20050915124958-d1718-699f1f011c36cd25ef897f75e976a2ac18f31f62.gz --- gestion/whos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/whos.py b/gestion/whos.py index a7c7682d..65cc8f13 100755 --- a/gestion/whos.py +++ b/gestion/whos.py @@ -402,7 +402,7 @@ def ipsec_ok(machine) : if hostname != "nectaris": if not os.path.isfile("/usr/scripts/gestion/clef-encap"): return None - prefix = "ssh -i /usr/scripts/gestion/clef-encap " + prefix = "ssh -i /usr/scripts/gestion/clef-encap root@nectaris.crans.org " clients = globals()['clients_ipsec'] if clients == None: clients = commands.getoutput("%snetstat -r -f encap | awk '($1 == \"0/0\") {print $3}'" % prefix).split("\n")