There is a script in /usr/xcp/bin/xapi-autostart-vms (Debian)
which will start all vm with param auto_poweron. Somewhere I read that script
needs to be changed on Debian(you can play with it, I guess there is a problem
with return value
" if [ $? -eq 0 ] && [ "${auto_poweron}" =
"true" ]; then"
But if you run that script from rc.local it will start vm's with
auto_poweron=true.
You can set auto_poweron like there:
http://grantmcwilliams.com/item/658-make-vms-autoboot-in-xcp
______________________________________________________________> Od: "Cesar A." <daemoncesar@hotmail.com>
> Komu: Shane Johnson <sdj@rasmussenequipment.com>
> Datum: 08.11.2013 17:09
> Předmět: Re: [Xen-API] [Xen-users] start all vms boot
>
>There is no files in this directory...
>using xen-xapi
>Date: Fri, 8 Nov 2013 09:05:44 -0700
>Subject: Re: [Xen-users] start all vms boot
>From: sdj@rasmussenequipment.com
>To: daemoncesar@hotmail.com
>CC: xen-users@lists.xen.org; xen-api@lists.xen.org
>
>Cesar,I have the /etc/xen/auto directory and shortcuts to the config files
in /etc/xen and mine come up with the system as long as they can find all their
resources.
>Shane
>
>
>On Fri, Nov 8, 2013 at 8:53 AM, Cesar A. <daemoncesar@hotmail.com>
wrote:
>
>
>
>
>How do I to start all VMS, on system startup ?
>
>_______________________________________________
>
>Xen-users mailing list
>
>Xen-users@lists.xen.org
>
>http://lists.xen.org/xen-users
>
>
>--
>Shane D. JohnsonIT AdministratorRasmussen Equipment
>
>
>
>
>
>----------
>
>_______________________________________________
>Xen-api mailing list
>Xen-api@lists.xen.org
>http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users