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

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