[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: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Gino LV. Ledesma" <gledesma@xxxxxxxxx>
  • Date: Fri, 26 Aug 2005 08:02:28 -0700
  • Delivery-date: Fri, 26 Aug 2005 15:00:35 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=koMetZ1Qasmq66FKVEaLPhvjMMmsNuTdCognwvFaYQW7hH++Hnk/d8ZYrsx3QC0TbFMWWdDDPq3vC7VZpqnOqrLrsnn4G0mhXpZUJ1CDx4U9klEQT/BBMrSW8tzbn7YlEbslga1A2tWy59g3WlFVGxkRSF9EYO3rUvSok7y7CjA=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Something like:


in the config would work. Then, on the domU itself, you could cat
/proc/cmdline to get the list of kernel boot options.


- gino ledesma

On 8/25/05, Nicholas Lee <emptysands@xxxxxxxxx> wrote:
> 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

Xen-users mailing list



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