mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-21 19:02:25 +00:00
set-lifecycle-action: add description of type and action
In [1], <type> are described as "on_poweroff", "on_reboot", "on_crash". but we accept "poweroff", "reboot" and "crash". This patch adds documentation for them. [1]: https://libvirt.org/formatdomain.html#elementsEvents Signed-off-by: Chen Hanxiao <chenhanxiao@gmail.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
c21679fa3f
commit
9e6b432d01
@ -2417,9 +2417,11 @@ the B<virsh dominfo> command.
|
||||
=item B<set-lifecycle-action> I<domain> I<type> I<action>
|
||||
[[I<--config>] [I<--live>] | [I<--current>]]
|
||||
|
||||
Set the lifecycle I<action> for specified lifecycle I<type>. For the list of
|
||||
lifecycle types and actions and possible combinations see the documentation at
|
||||
L<https://libvirt.org/formatdomain.html#elementsEvents>.
|
||||
Set the lifecycle I<action> for specified lifecycle I<type>.
|
||||
The valid types are "poweroff", "reboot" and "crash", and for each of
|
||||
them valid I<action> is one of "destroy", "restart", "rename-restart",
|
||||
"preserve". For I<type> "crash", additional actions "coredump-destroy"
|
||||
and "coredump-restart" are supported.
|
||||
|
||||
=item B<set-user-password> I<domain> I<user> I<password> [I<--encrypted>]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user