OpenVZ Forum


Home » General » Support » How to create a full template for centos
Re: How to create a full template for centos [message #22562 is a reply to message #22561] Tue, 30 October 2007 21:47 Go to previous messageGo to previous message
dowdle is currently offline  dowdle
Messages: 261
Registered: December 2005
Location: Bozeman, Montana
Senior Member
Oh, one minor but important detail to add. If the size of your OS Templates gets too big, you may have a problem using vzctl create as it's extraction size may be bigger than the default 1GB diskspace value. There is probably an easy way to avoid that but the --diskspace parameter isn't a valid option with the vzctl create command, only with the vzctl set command.

Rather than figuring out the better solution to that problem, I've just created a new private dir for my VPS and used tar to extract the OS Template where it goes... and manually copied/edited an existing {VEID}.conf as needed to get the new VPS going. That's kinda the brute force way to do it but it worked for me when I tried it.


--
TYL, Scott Dowdle
Belgrade, Montana, USA
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Host OS and OpenVZ Kernel matching
Next Topic: *SOLVED* Easy way to create templates from iso packages
Goto Forum:
  


Current Time: Sat Oct 12 09:04:02 GMT 2024

Total time taken to generate the page: 0.07247 seconds