[virt-tools-list] Help, Need inform about set-lifecycle-action.
Christophe Fergeau
cfergeau at redhat.com
Thu Dec 13 08:30:47 UTC 2018
Hey,
On Thu, Dec 13, 2018 at 01:37:39PM +0900, leejh76 at gmail.com wrote:
> Could you give me a favor?
> I would like know how to use set-lifecycle-action in virsh.
>
> They are requesting --type, but I could not find type in "help doc",
> "info
> virsh doc".
>
> I think provided help doc is not enough to know virsh.
> Please, show me how to use set-lifecycle-action.
It probably maps fairly closely to https://libvirt.org/formatdomain.html#elementsEvents
This command seems to work for example:
virsh set-lifecycle-action $domain poweroff destroy
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20181213/510651be/attachment.sig>
More information about the virt-tools-list
mailing list