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

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