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

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