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] Rename domU

To: Jordi Espasa Clofent <sistemes.llistes@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Rename domU
From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Date: Fri, 29 Jun 2007 10:56:27 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 29 Jun 2007 02:50:44 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=JiLZrtWH8OGm3q7bqfxYzMZAOYyS2jUBo3YSi4/5FHauuS4QlPq8QWwHxJhjtvUWGGVKbGE1/xEZTrdRKdesDcskE5KI9/zr7SC8o/+dkxm1rkF/AvCz2EmrZK8al80lu9OKPjo0BjnyDlvbEQkKER0f3qymOtBoAbNilnt2XHA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=UJ9a4eG60wTYAH1CGEPOR21HN7HYuWRbotmct8+mzsnguf0jKTIRukBMm4MZhQd9s/ab2SWgIKO3nmQ5iwwlolbO8i6nFneUMj/dUfQN+yu0a/b/Yv9OpuSwTc/LomNGr/aCv7lAlljuLFHyYeTKBs0Y6ccmEHoMxfqb4V8cRKQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4684D2F2.50608@xxxxxxxxxxxxx>
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: <4684C070.902@xxxxxxxxxxxxx> <4684C3FD.3000902@xxxxxxxxx> <4684D2F2.50608@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.12 (Windows/20070509)
Jordi Espasa Clofent wrote:
Yes. Shut it down, edit your configuration files, and restart it.

Thanks Nico. It has been very easy: change two parameters inside config file, the config file name and itself and the image config file.

It works very fine. No problem.

But I've discovered an odd behaviour: hostname doesn't persists in systems inside domU.

Example:

Inside domU I've a system which is called NameA originally. I access into this domU and changing the name with hostname(1) to new name, NameB. When I reboot this system, appears NameA again; so, the action made by hostname(1) is not persistent.
Note that that's a Linux configuration issue, not a Xen issue.

Which Linux distro are you using? Most of them store their hostname in /etc/sysconfig/network, which is read at boot time and used to set hostname. There is also usually a GUI or command line tool for gracefully editing this

Hostname can be important for any software that is hostname sensitive, such as some web servers, some SSH configurations, and backup tools, and is thus one of the first things set on a system.



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

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