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: Patrick O'Rourke <porourke@xxxxxxxxxxx>
Date: Thu, 08 Sep 2005 10:33:02 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 08 Sep 2005 14:28:59 +0000
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
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050716)
Eric Brown 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.

Did you try the hostname arg (from examples/xmexample1 file)?

        # Set the hostname.
        #hostname= "vm%d" % vmid

--
Patrick O'Rourke
porourke@xxxxxxxxxxx

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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] Is there a way for a domu to find out its name, Patrick O'Rourke <=