Blame SOURCES/bz1121122-3-eol_changed.patch

3340af
From ffee19e58c7186c88e7aba58f52ab0098d0939a7 Mon Sep 17 00:00:00 2001
3340af
From: Marek 'marx' Grac <mgrac@redhat.com>
3340af
Date: Mon, 1 Dec 2014 10:10:00 +0100
3340af
Subject: [PATCH 2/3] fence_ilo_ssh: Change EOL to \r
3340af
3340af
Previously, we have used \r\n that works fine with iLO3 with firmware >=1.50 but
3340af
for iLO4 all firmware that we have tested works only with \r
3340af
3340af
Resolves: rhbz#1121122
3340af
---
3340af
 fence/agents/ilo_ssh/fence_ilo_ssh.py | 2 ++
3340af
 1 file changed, 2 insertions(+)
3340af
3340af
diff --git a/fence/agents/ilo_ssh/fence_ilo_ssh.py b/fence/agents/ilo_ssh/fence_ilo_ssh.py
3340af
index 2fc9de2..7451792 100644
3340af
--- a/fence/agents/ilo_ssh/fence_ilo_ssh.py
3340af
+++ b/fence/agents/ilo_ssh/fence_ilo_ssh.py
3340af
@@ -59,6 +59,8 @@ device via ssh and reboot a specified outlet. "
3340af
 		("fence_ilo4_ssh", "Fence agent for HP iLO4 over SSH")]
3340af
 	show_docs(options, docs)
3340af
 
3340af
+	options["eol"] = "\r"
3340af
+
3340af
 	conn = fence_login(options)
3340af
 	conn.send_eol("SMCLP")
3340af
 
3340af
-- 
3340af
1.9.3
3340af