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

RE: [Xen-users] assign a hostname to a xen instance

Thanks Fajar..

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

- regards

-----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)


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

Xen-users mailing list



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