public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* fence-agents: master - fence_rsa: fix problem with ssh on some machines
@ 2009-04-03 7:22 Marek Grác
0 siblings, 0 replies; only message in thread
From: Marek Grác @ 2009-04-03 7:22 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commitdiff;h=c1e7b808adad13794661f8f0a790c9746a8a782c
Commit: c1e7b808adad13794661f8f0a790c9746a8a782c
Parent: b332199a29ecad045384fcd1388c50c66a9f552f
Author: Marek 'marx' Grac <mgrac@redhat.com>
AuthorDate: Fri Apr 3 09:19:04 2009 +0200
Committer: Marek 'marx' Grac <mgrac@redhat.com>
CommitterDate: Fri Apr 3 09:19:04 2009 +0200
fence_rsa: fix problem with ssh on some machines
We need to ignore configuration file.
---
fence/agents/rsa/fence_rsa.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/fence/agents/rsa/fence_rsa.py b/fence/agents/rsa/fence_rsa.py
index cf736c9..8683e38 100644
--- a/fence/agents/rsa/fence_rsa.py
+++ b/fence/agents/rsa/fence_rsa.py
@@ -53,9 +53,7 @@ def main():
options["-c"] = ">"
# This device will not allow us to login even with LANG=C
-# os.unsetenv("LANG")
- if "LANG" in os.environ:
- del os.environ["LANG"]
+ options["ssh_options"] = "-F /dev/null"
##
## Operate the fencing device
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-03 7:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-03 7:22 fence-agents: master - fence_rsa: fix problem with ssh on some machines Marek Grác
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).