Blame SOURCES/fence_impilan-fence_ilo_ssh-add-ilo5-support.patch

21d5fd
diff -uNr a/agents/ilo_ssh/fence_ilo_ssh.py b/agents/ilo_ssh/fence_ilo_ssh.py
21d5fd
--- a/agents/ilo_ssh/fence_ilo_ssh.py	2018-06-18 12:14:35.000000000 +0200
21d5fd
+++ b/agents/ilo_ssh/fence_ilo_ssh.py	2018-06-28 12:26:14.274615003 +0200
21d5fd
@@ -54,7 +54,8 @@
21d5fd
 device via ssh and reboot a specified outlet. "
21d5fd
 	docs["vendorurl"] = "http://www.hp.com"
21d5fd
 	docs["symlink"] = [("fence_ilo3_ssh", "Fence agent for HP iLO3 over SSH"),
21d5fd
-		("fence_ilo4_ssh", "Fence agent for HP iLO4 over SSH")]
21d5fd
+		("fence_ilo4_ssh", "Fence agent for HP iLO4 over SSH"),
21d5fd
+		("fence_ilo5_ssh", "Fence agent for HP iLO5 over SSH")]
21d5fd
 	show_docs(options, docs)
21d5fd
 
21d5fd
 	options["eol"] = "\r"
21d5fd
diff -uNr a/agents/ipmilan/fence_ipmilan.py b/agents/ipmilan/fence_ipmilan.py
21d5fd
--- a/agents/ipmilan/fence_ipmilan.py	2018-06-18 12:14:35.000000000 +0200
21d5fd
+++ b/agents/ipmilan/fence_ipmilan.py	2018-06-28 12:26:14.275614990 +0200
21d5fd
@@ -169,6 +169,8 @@
21d5fd
 		all_opt["lanplus"]["default"] = "1"
21d5fd
 	elif os.path.basename(sys.argv[0]) == "fence_ilo4":
21d5fd
 		all_opt["lanplus"]["default"] = "1"
21d5fd
+	elif os.path.basename(sys.argv[0]) == "fence_ilo5":
21d5fd
+		all_opt["lanplus"]["default"] = "1"
21d5fd
 
21d5fd
 	all_opt["ipport"]["default"] = "623"
21d5fd
 	all_opt["method"]["help"] = "-m, --method=[method]          Method to fence (onoff|cycle) (Default: cycle)\n" \
21d5fd
@@ -187,6 +189,7 @@
21d5fd
 	docs["vendorurl"] = ""
21d5fd
 	docs["symlink"] = [("fence_ilo3", "Fence agent for HP iLO3"),
21d5fd
 		("fence_ilo4", "Fence agent for HP iLO4"),
21d5fd
+		("fence_ilo5", "Fence agent for HP iLO5"),
21d5fd
 		("fence_imm", "Fence agent for IBM Integrated Management Module"),
21d5fd
 		("fence_idrac", "Fence agent for Dell iDRAC")]
21d5fd
 	show_docs(options, docs)