Personally I do this:
sudo vserver vcrux02 build -m skeleton -n vcrux02 --context 200 --hostname vcrux02.corporate.net --interface 192.168.xxx.xxx --netdev eth0 --netmask 255.255.255.0 --initstyle plain
sudo rm -rf /vservers/vcrux02
sudo cp -va /vservers/vcrux01 /vservers/vcrux02
Saves from having to edit /etc/vservers/vcrux02/.. afterwards
later
sig
-----Original Message-----
From: vserver-bounces@list.linux-vserver.org
[mailto:vserver-bounces@list.linux-vserver.org]On Behalf Of Lars
Hallberg
Sent: Wednesday, November 30, 2005 10:54 AM
To: vserver@list.linux-vserver.org
Subject: Re: [Vserver] Copy VServer
smagnuson@forzani.com wrote:
>Lars,
>see the included post dated Oct 19, 2005
>
>
Thanks
># Here's another way
>sudo cp -rp /etc/vservers/vcrux01 /etc/vservers/vcrux02
># edit/confirm config files (sudo vi /etc/vservers/vcrux02/..)
>sudo cp -va /vservers/vcrux01 /vservers/vcrux02
>
>
This is the curent aproch... Trying to figure out what to edit :-)
/LaH
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Nov 30 18:37:23 2005