Re: [Vserver] I would like to know how to build a FC4 template

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Tue 18 Oct 2005 - 22:33:29 BST
Message-ID: <20051018213329.GB11205@MAIL.13thfloor.at>

On Tue, Oct 18, 2005 at 01:48:49PM -0600, smagnuson@forzani.com wrote:
> I get the same error. I just touch an empty file by that name and it
> works. you get an error at the end indicating a issue with the conf
> file but seeing as I don't use it I have not been concerned.
>
> I was under the impression that the .conf file in question is legacy.
> More experienced vserver folks should probably correct/confirm this.

yes, the entire vserver-copy is legacy stuff ...

> sudo vserver vcrux02 build -m skeleton -n vcrux02 --context 200 --hostname vcrux02.corporate.net --interface xxx.xxx.xxx.xxx --netdev eth0 --netmask 255.255.255.0 --initstyle plain

if you already built the config with the above, you can
simply do:

sudo rm -rf /vservers/vcrux02
sudo cp -va /vservers/vcrux01 /vservers/vcrux02

best,
Herbert

> sudo touch /etc/vservers/vcrux01.conf
> sudo vserver-copy vcrux01 vcrux02
>
> later
> sig
>
>
> -----Original Message-----
> From: vserver-bounces@list.linux-vserver.org [mailto:vserver-bounces@list.linux-vserver.org]On Behalf Of Steven Truong
> Sent: Tuesday, October 18, 2005 1:38 PM
> To: vserver@list.linux-vserver.org
> Subject: [Vserver] I would like to know how to build a FC4 template
>
>
> Hi, all. It is a good idea to build a guest server with basic all around apps and then clone this basic server to other guest of the same distribution, in my case FC4. Then for each clone, I would be able to add specific apps to it.
>
> For this matter, I could not find enough information to try. It seems like for Gentoo distribution http://www.gentoo.org/doc/en/vserver-howto.xml shows that you can tar the whole guest server and then reuse this tarball.
>
> I also found vserver-copy and read the man page and tried this on my configured guest server. I got the following error trying to copy my lanweb FC4 guest server to a newtest guest server:
>
> vserver-copy -v lanweb/ newtest
> I: vserver-copy: called on abc-25 at Tue Oct 18 12:28:25 PDT 2005
> newtest
> E: vserver-copy: Vserver file "/etc/vservers/lanweb/.conf" does not exist
>
> Coudl somebody tell me what .conf file and where/how to configure/find it? Is it the same file with /etc/vservers/lanweb/lanweb.conf file. Currently, I disabled/do not have this lanweb.conf file.
> In the man page, it also mention about /etc/vservers/vserver.conf and with my current settings, I don't have this file either.
>
> Could someone give me some information regarding all of these .conf files?
>
> Thank you in advance for all your helps.
> Steven.
>
>

> _______________________________________________
> 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 Tue Oct 18 22:33:49 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 18 Oct 2005 - 22:33:51 BST by hypermail 2.1.8