From ffee19e58c7186c88e7aba58f52ab0098d0939a7 Mon Sep 17 00:00:00 2001
From: Marek 'marx' Grac <mgrac@redhat.com>
Date: Mon, 1 Dec 2014 10:10:00 +0100
Subject: [PATCH 2/3] 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 file changed, 2 insertions(+)
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")
--
1.9.3