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] Is there a way for a domu to find out its name

To: Eric Brown <yogieric@xxxxxxx>
Subject: Re: [Xen-users] Is there a way for a domu to find out its name
From: Nicholas Lee <emptysands@xxxxxxxxx>
Date: Fri, 26 Aug 2005 11:09:03 +1200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 25 Aug 2005 23:07:13 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Q2cwTKYjImOM/17pk7SkP49zZatWNrvCDUA1HcGPV99Ot/J8VObiZLNGjww2wVIngF+KlyQGruqu56TzBtukFZ6Gj5hx4yL1CNqZhVRRLy/kD7pWBlODVg6i4Vaf+6Wsg8QbGq03m47+g9j9Z0Z8LaOw06wh67GsfS+Dke5QlVQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <3DCB327B-564D-4EEC-B809-7493A03A80D2@xxxxxxx>
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>
References: <3DCB327B-564D-4EEC-B809-7493A03A80D2@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 8/26/05, Eric Brown <yogieric@xxxxxxx> wrote:
> I'd like to be able to start with the same disk-image for every domu
> but have it pick up its hostname by knowing the name it was assigned
> in its xen config file in dom0.

You could pass the system name via the boot kernel options and pick
this up in the in the init scripts.

I don't have a receipe of the top of my head, but probably something
easy to google.

-- 
Nicholas Lee
http://stateless.geek.nz
gpg 8072 4F86 EDCD 4FC1 18EF  5BDD 07B0 9597 6D58 D70C

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

<Prev in Thread] Current Thread [Next in Thread>