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: Pallab Chakrabarty <pchakrabarty@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] assign a hostname to a xen instance
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Mon, 3 Aug 2009 14:15:16 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 03 Aug 2009 00:16:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <5182FEDEEEF14D959E1C5A052E798829@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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

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