On 27/12/2015 6:57 PM, Andrew McGlashan via luv-main wrote:
> virsh is very simple, no XML editing required.
> 
> 
> 
> # virsh help autostart
>   NAME
>     autostart - autostart a domain
> 
>   SYNOPSIS
>     autostart <domain> [--disable]
> 
>   DESCRIPTION
>     Configure a domain to be automatically started at boot.
> 
>   OPTIONS
>     [--domain] <string>  domain name, id or uuid
>     --disable        disable autostarting

Just a couple of quick examples from the cmd line.


# virsh autostart example.com
Domain example.com marked as autostarted


# virsh autostart example.com --disable
Domain example.com unmarked as autostarted



# virsh dominfo  example.com
Id:             -
Name:           example.com
UUID:           3581bbbb-84c9-5e5e-ada5-2dd39431c100
OS Type:        hvm
State:          shut off
CPU(s):         1
Max memory:     524288 KiB
Used memory:    524288 KiB
Persistent:     yes
Autostart:      disable
Managed save:   no



A.
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to