提交 9e6b432d 编写于 作者: C Chen Hanxiao 提交者: Michal Privoznik

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#elementsEventsSigned-off-by: NChen Hanxiao <chenhanxiao@gmail.com>
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 c21679fa
......@@ -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>]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册