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

Re: [Xen-users] Is there a way for a domu to find out its name


  • To: Eric Brown <yogieric@xxxxxxx>
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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