Blame SOURCES/bz2132010-fence_virt-add-note-reboot-action.patch

84ce09
diff --color -uNr a/client/options.c b/client/options.c
84ce09
--- a/client/options.c	2022-10-05 15:57:12.661717853 +0200
84ce09
+++ b/client/options.c	2022-10-05 15:56:44.854549898 +0200
84ce09
@@ -729,9 +729,9 @@
84ce09
 
84ce09
 	if (!print_stdin) {
84ce09
 		if (progname) {
84ce09
-			printf("usage: %s [args]\n", progname);
84ce09
+			printf("usage: %s [args]\n\nNOTE: reboot-action does not power on nodes that are powered off.\n\n", progname);
84ce09
 		} else {
84ce09
-			printf("usage: fence_virt [args]\n");
84ce09
+			printf("usage: fence_virt [args]\n\nNOTE: reboot-action does not power on nodes that are powered off.\n\n");
84ce09
 		}
84ce09
 	}
84ce09
 
84ce09
@@ -761,7 +761,8 @@
84ce09
 	printf("\n");
84ce09
 	printf("<resource-agent name=\"%s\" shortdesc=\"Fence agent for virtual machines\">\n", basename(progname));
84ce09
 	printf("<longdesc>%s is an I/O Fencing agent which can be used with "
84ce09
-	       "virtual machines.</longdesc>\n", basename(progname));
84ce09
+	       "virtual machines.\n\nNOTE: reboot-action does not power on nodes that are powered off."
84ce09
+	       "</longdesc>\n", basename(progname));
84ce09
 	printf("<parameters>\n");
84ce09
 
84ce09
 	for (x = 0; x < strlen(optstr); x++) {
84ce09
diff --color -uNr a/man/fence_virt.8 b/man/fence_virt.8
84ce09
--- a/man/fence_virt.8	2019-11-14 16:29:26.000000000 +0100
84ce09
+++ b/man/fence_virt.8	2022-10-05 16:01:44.001358622 +0200
84ce09
@@ -15,6 +15,7 @@
84ce09
 For compatibility, fence_xvm may talk to fence_xvmd from linux-cluster
84ce09
 release 2 or later.
84ce09
 
84ce09
+NOTE: reboot-action does not power on nodes that are powered off.
84ce09
 .P
84ce09
 fence_virt and fence_xvm accept options on the command line as well
84ce09
 as from stdin.  The fencing daemon sends parameters through stdin