Gitweb: http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=ffee19e5…
Commit: ffee19e58c7186c88e7aba58f52ab0098d0939a7
Parent: 9db6e28d381b19f2a396ea1a0f06ae4d434c0a27
Author: Marek 'marx' Grac <mgrac(a)redhat.com>
AuthorDate: Mon Dec 1 10:10:00 2014 +0100
Committer: Marek 'marx' Grac <mgrac(a)redhat.com>
CommitterDate: Mon Dec 1 10:10:00 2014 +0100
fence_ilo_ssh: Change EOL to \r
Previously, we have used \r\n that works fine with iLO3 with firmware >=1.50 but
for iLO4 all firmware that we have tested works only with \r
Resolves: rhbz#1121122
---
fence/agents/ilo_ssh/fence_ilo_ssh.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fence/agents/ilo_ssh/fence_ilo_ssh.py b/fence/agents/ilo_ssh/fence_ilo_ssh.py
index 2fc9de2..7451792 100644
--- a/fence/agents/ilo_ssh/fence_ilo_ssh.py
+++ b/fence/agents/ilo_ssh/fence_ilo_ssh.py
@@ -59,6 +59,8 @@ device via ssh and reboot a specified outlet. "
("fence_ilo4_ssh", "Fence agent for HP iLO4 over SSH")]
show_docs(options, docs)
+ options["eol"] = "\r"
+
conn = fence_login(options)
conn.send_eol("SMCLP")