[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Startup-Hook Script ?



On Fri, 27 Jun 2008, Steffen Heil wrote:

> Is there a way to run a script just *before* booting a domain?
> This is easy when starting up a domain (using a wrapper around xm create)
> but I find no way to do it if a restart is triggered from inside the domU.
>
> Reason: I'd like to automatically mount the root drive and copy the kernel
> and initramdisk to dom0 and unmont again. So updates of the kernel can be
> done inside the domU.

You could make your own block script, and do this in it.


Stefan


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.