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] assign a hostname to a xen instance

To: "'Fajar A. Nugraha'" <fajar@xxxxxxxxx>
Subject: RE: [Xen-users] assign a hostname to a xen instance
From: "Pallab Chakrabarty" <pchakrabarty@xxxxxxxxxxxxxxx>
Date: Mon, 3 Aug 2009 05:04:13 -0500 (CDT)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 03 Aug 2009 03:04:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0908030015h50eb1f3fiec93ebc4067bfac5@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <5182FEDEEEF14D959E1C5A052E798829@xxxxxxxxxxxxxx> <7207d96f0908030015h50eb1f3fiec93ebc4067bfac5@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoUCiz1mpUimpF1RI+FTpZHmEo1KwAF28dg
Thanks Fajar..

I would also like to know if windows VMs has this problem too ?




- regards
   Pallab




-----Original Message-----
From: Fajar A. Nugraha [mailto:fajar@xxxxxxxxx]
Sent: Monday, August 03, 2009 12:45 PM
To: Pallab Chakrabarty
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] assign a hostname to a xen instance

On Mon, Aug 3, 2009 at 1:11 PM, Pallab
Chakrabarty<pchakrabarty@xxxxxxxxxxxxxxx> wrote:
>
> I?m trying to assign a dynamic hostname to a xen instance as follows:

> Cfg file
>
> === ==

> hostname = "uniquehostname"
> #hostname = " uniquehostname.xen.org"

> In both the cases, the instance is unable to get the correct hostname..

>From "xm create --help_config" :
hostname=NAME        Set the kernel IP hostname.
interface=INTF       Set the kernel IP interface name.
dhcp=off|dhcp        Set the kernel dhcp option.

On most LInux distros, kernel hostname and IP address is ignored,
making it somewhat useless. You need to use your normal distro method
to set hostname on domU (/etc/sysconfig/network on RHEL)

--
Fajar

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.42/2278 - Release Date: 08/02/09
17:56:00

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

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