virsh: Fix on_shutdown to on_poweroff

The 'on_shutdown' was the name in Xen, there was never such option in
libvirt's domain XML.

Reported-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Martin Kletzander 2016-10-27 08:33:45 +02:00
parent 3e044e6e49
commit eacecd7437

View File

@ -2398,7 +2398,7 @@ succeed, and may take a variable length of time depending on what
services must be shutdown in the domain. services must be shutdown in the domain.
The exact behavior of a domain when it shuts down is set by the The exact behavior of a domain when it shuts down is set by the
I<on_shutdown> parameter in the domain's XML definition. I<on_poweroff> parameter in the domain's XML definition.
If I<domain> is transient, then the metadata of any snapshots will If I<domain> is transient, then the metadata of any snapshots will
be lost once the guest stops running, but the snapshot contents still be lost once the guest stops running, but the snapshot contents still