Gitweb: http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=b41258619... Commit: b4125861985a9574d9e199821d45a248ec581d49 Parent: 5099295082968d62a53452642ee8dbe02b6b0e32 Author: Ondrej Mular omular@redhat.com AuthorDate: Thu Apr 3 08:44:19 2014 -0400 Committer: Marek 'marx' Grac mgrac@redhat.com CommitterDate: Fri Apr 11 09:30:27 2014 +0200
fence_ipmilan: send empty password, if password is not entered
Previously, agent stuck on password prompt from ipmitool, if password was not specified.
Resolves: rhbz#1083600 --- fence/agents/ipmilan/fence_ipmilan.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fence/agents/ipmilan/fence_ipmilan.py b/fence/agents/ipmilan/fence_ipmilan.py index a57efb7..9357369 100644 --- a/fence/agents/ipmilan/fence_ipmilan.py +++ b/fence/agents/ipmilan/fence_ipmilan.py @@ -93,6 +93,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"]