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

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