WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Steffen Heil <lists@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Startup-Hook Script ?
From: Stefan de Konink <skinkie@xxxxxxxxx>
Date: Fri, 27 Jun 2008 09:40:05 +0200 (CEST)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 27 Jun 2008 00:40:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <996CC2698B0C4B1984834A11F26AD9FA@shs1>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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