Option name is not required with option xml.

When defining a domain with xml, its name is taaken directly from the xml definition.
This commit is contained in:
Anton 2018-08-07 20:27:57 +03:00
parent d92232d161
commit 4ac14a622b

View file

@ -25,7 +25,7 @@ options:
description:
- name of the guest VM being managed. Note that VM must be previously
defined with xml.
- This option is required unless I(command) is C(list_vms).
- This option is required unless I(command) is C(list_vms) or with I(xml). In the latter case I(name) is taken from the xml definition.
state:
description:
- Note that there may be some lag for state requests like C(shutdown)