[Vserver] Can't rename vserver's host name

2006-02-01 Thread Gerhard Hofmann

Hi list,

we have had a physical machine named iserv running with Suse Linux for 
quite a while.


Now we have migrated the machine to a Debian vserver running in a Debian 
host (complete new install from scratch). When creating the vserver, I 
set vserver name=iserv but vserver *host* name=iservneu because it was 
necessary to run old physical Suse machine and new virtual Debian 
machine at the same time in the same network to migrate some user 
mailboxes to the new machine.


Now, after the old Suse machine has been shut down forever I'd like to 
rename vserver host name from iservneu to iserv.


I found some older posts in this lists that claim there *should* be some 
file iserv.conf but I don't have it.


Whitin the vserver, /etc/hostname file contains iserv

When running hostname command without parameters in the vserver after a 
vserver reboot, iservneu is shown as hostname.


Running
  hostname iserv
does not help, after restart it still claims that host name is iservneu.

Any ideas?

TIA
Gerhard

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Can't rename vserver's host name

2006-02-01 Thread Guenther Fuchs
Hi there,

on Wednesday, February 1, 2006 at 1:28:24 PM there was posted:

GH Whitin the vserver, /etc/hostname file contains iserv

GH Any ideas?

Palce the hostname on the host in
  /etc/vservers/[vserver-name]/uts/nodename
- this is the file which is used to create the hostname on boot.

-- 
regards 'n greez,

Guenther Fuchs
(aka muh and powerfox)

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver