OpenVZ Forum



Members   Search      Help    Register    Login    Home
Home » General » Support » how do I create an OS template from a running VE?
how do I create an OS template from a running VE? [message #14538] Sun, 01 July 2007 06:31 Go to next message
jpastore is currently offline jpastore
Messages: 21
Registered: July 2007
Location: South Florida
Junior Member
From: *vortexhelp.com
I got OpenVZ running and setup my first VE.

Now I'd like to know if there is a way to create a template from that VE to avoid downloading and updating a bunch of RPMs.

I apologize if this is a dup of another post. I couldn't find the answer search google/the forum.

Thanks

-Jon
Re: how do I create an OS template from a running VE? [message #14545 is a reply to message #14538] Mon, 02 July 2007 01:49 Go to previous messageGo to next message
Vasily Tarasov is currently offline Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
From: *sw.ru
It is very easy. Let <veid> is upgraded VE, which you want use as a template.

1) clean network setting and other VE-specific information
2) stop VE
3) tar.gz VEs private area and place the archive in /vz/templates/cache/
4) now you can create VEs based on your template.

HTH,
Vasily.
Re: how do I create an OS template from a running VE? [message #14611 is a reply to message #14545] Tue, 03 July 2007 08:49 Go to previous message
jpastore is currently offline jpastore
Messages: 21
Registered: July 2007
Location: South Florida
Junior Member
From: *vortexhelp.com
Thank you for the response!

Any ideas on how to keep it up to date other than scripting the shut down of the VE and following the procedure you just described?

I was looking at vzdump and I was thinking a great feature would be to have a template option. Then I just dump nightly and keep my templates current.

It's either that or just deal with a massive amount of updates after creating a VE.

Any ideas would be appreciated.

-Jon
Previous Topic:Can not suspend VE
Next Topic:*SOLVED* Hardware compatibility list?
Goto Forum:
  


Current Time: Tue May 21 11:26:53 EDT 2013
Powered by FUDforum Powered by Parallels Virtuozzo Containers