Ici aussi

darcs-hash:20060205003520-72cb0-64cf323e82161f8c84e74d4c575de42196cd0305.gz
This commit is contained in:
salles 2006-02-05 01:35:20 +01:00
parent 10db96264f
commit 22be72b28d

View file

@ -425,7 +425,7 @@ def ipsec_ok(machine) :
if hostname != "ragnarok":
if not os.path.isfile("/usr/scripts/gestion/clef-encap"):
return None
prefix = "ssh -i /usr/scripts/gestion/clef-encap root@nectaris.crans.org "
prefix = "ssh -i /usr/scripts/gestion/clef-encap root@ragnarok.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")