Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.17 KB

commands.md

File metadata and controls

42 lines (27 loc) · 1.17 KB

Commands

Options:

  • name (String - alternative domName, domainName) - Required: The name of the DomU, whose id you want to know

Return value:

  • (Number) id of the DomU

Options:

  • id (String - alternative domId, domainId) - Required: The id of the DomU, whose name you want to know

Return value:

  • (String) name of the DomU

Options:

  • none

Return value:

  • (Object) Output of xl list -l. It's a bit strange structure, but you will get used to it 😄

Options:

  • name (String - alternative domName, domainName) - Required: The name of the DomU to shutdown (use this or id, not both)
  • id (String - alternative domId, domainId) - Required: The id of the DomU to shutdown (use this or name, not both)
  • all (Boolean) - Shuts down all VMs on this Xen host. This will only work if the granted filter from the constructor matches all running VMs (checked first via the list command). If you set this to true you can omit the required name and id property.

Return value:

  • (String) Output of xl shutdown