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] name of DomU inside DomU

On 05 Jun 2009, 14:15:30 +0700, Fajar A. Nugraha wrote:
> On Fri, Jun 5, 2009 at 1:49 PM, Sylvain Jeanneret <s.jeanneret@xxxxxxxx> 
> wrote:
> > Hi everybody,
> >
> > Is it possible to get the name of a DomU from inside this DomU ?
> > If yes, how ?
> 
> xenstore has that. If it's PV domU, you can install xen userland tools and run
> "xenstore-read name"
> 
> If it's HVM domU, you need to have something that can read values from
> xenstore (I'm not aware of ready-to-use application though)

Thanks for you quick answer. It's effectively an HVM domU and
xenstore-read failed. What I found with google seems too
complicated for me. I would try to give the hostname from the MAC
adress.

Regards,

-- 
Sylvain

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

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