cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH] fence_ipmilan: send empty password, if password is not entered
       [not found] <1889953536.1361192.1396528736901.JavaMail.zimbra@redhat.com>
@ 2014-04-03 12:44 ` Ondrej Mular
  0 siblings, 0 replies; only message in thread
From: Ondrej Mular @ 2014-04-03 12:44 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Previously, agent stuck on password prompt from ipmitool, if password was not specified.

Resolves: rhbz#1083600

---
 fence/agents/ipmilan/fence_ipmilan.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fence/agents/ipmilan/fence_ipmilan.py b/fence/agents/ipmilan/fence_ipmilan.py
index 1e52ccc..632f13d 100644
--- a/fence/agents/ipmilan/fence_ipmilan.py
+++ b/fence/agents/ipmilan/fence_ipmilan.py
@@ -91,6 +91,8 @@ def create_command(options, action):
 	# --password / -p
 	if options.has_key("--password"):
 		cmd += " -P " + quote(options["--password"])
+	else:
+		cmd += " -P ''"
 
 	# --cipher / -C
 	cmd += " -C " + options["--cipher"]
-- 
1.8.3.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-04-03 12:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1889953536.1361192.1396528736901.JavaMail.zimbra@redhat.com>
2014-04-03 12:44 ` [Cluster-devel] [PATCH] fence_ipmilan: send empty password, if password is not entered Ondrej Mular

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 NNTP newsgroup(s).