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

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)


Xen-users mailing list



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