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

Re: [Xen-users] Rename domU


  • To: Jordi Espasa Clofent <sistemes.llistes@xxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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