OpenVZ Forum


Home » General » Support » *SOLVED* Create FC6 Template
Re: Create FC6 Template [message #11153 is a reply to message #11062] Wed, 14 March 2007 12:40 Go to previous messageGo to previous message
Alexandr Andreev is currently offline  Alexandr Andreev
Messages: 35
Registered: October 2006
Member
You can also read http://wiki.openvz.org/Debian_template_creation
and http://wiki.openvz.org/Slackware_template_creation to understand how to create a template from __any__ Linux distributive.

The main problem is to create FC6 rootfs image. If you have a rootfs image, you have everything to make your own template.

To create any rootfs you can:

1. Install vmware (or get a real host/new HW disc);
2. Install any linux distributive on it. Use minimal installation!
3. Make tgz image of root filesystem on your target PC (vmware) (tar czf /rootfs.tgz --exclude /rootfs.tgz /)
4. Copy this image to a host, where openvz is installed. (You can copy it by network or flash and so on...)
5. Choose some VEID, to use (assume 777)
6. Untar your rootfs image on a host with OpenVZ:
# cd /vz/private/777
# gunzip -dc rootfs.tgz |tar -xvf -
# rm /vz/private/777/rootfs.tgz
7. Make config for this VE
# vzctl set 777 --applyconfig vps.basic --save
8. ...
Read wiki pages above to see all next steps required

[Updated on: Wed, 14 March 2007 12:41]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* env_create error: Resource temporarily unavailable
Next Topic: *SOLVED* new kernel-smp-2.6.18-ovz028stab021.1.x86_64
Goto Forum:
  


Current Time: Wed Aug 07 15:50:10 GMT 2024

Total time taken to generate the page: 0.02755 seconds