Blame SOURCES/fence_ilo3-fence_ipmilan-show-correct-default-method.patch

658b6c
From bd1b11884f33f5fce5ca7618c9f87b540592e1b6 Mon Sep 17 00:00:00 2001
658b6c
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
658b6c
Date: Mon, 2 Jul 2018 16:36:41 +0200
658b6c
Subject: [PATCH] fence_ilo3/fence_ipmilan: show correct default method (onoff)
658b6c
 in help
658b6c
658b6c
---
658b6c
 agents/ipmilan/fence_ipmilan.py | 2 +-
658b6c
 1 file changed, 1 insertion(+), 1 deletion(-)
658b6c
658b6c
diff --git a/agents/ipmilan/fence_ipmilan.py b/agents/ipmilan/fence_ipmilan.py
658b6c
index 453d7365..9610f1c6 100644
658b6c
--- a/agents/ipmilan/fence_ipmilan.py
658b6c
+++ b/agents/ipmilan/fence_ipmilan.py
658b6c
@@ -171,7 +171,7 @@ def main():
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
+	all_opt["method"]["help"] = "-m, --method=[method]          Method to fence (onoff|cycle) (Default: onoff)\n" \
658b6c
 				    "WARNING! This fence agent might report success before the node is powered off. " \
658b6c
 				    "You should use -m/method onoff if your fence device works correctly with that option."
658b6c
 
658b6c
-- 
658b6c
2.17.1
658b6c