OpenVZ Forum


Home » General » Support » Can I create a template from an updated VPS?
Re: Can I create a template from an updated VPS? [message #2159 is a reply to message #2154] Thu, 23 March 2006 06:47 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Quote:

Of course, if you were talking about other things besides just packages (altered configs, log files, stuff under /home or in /etc/skel etc), then your way would be the way to go.


In that case, you can also stick to vzpkgcache, having three options:

1. Create and add your own RPMS to /vz/template/OSNAME/OSVERSION/ARCH/vz-addons/ directory (and run createrepo in it afterwards), then add those packages to some *.list file

2. Create your own yum repository and add it to /vz/template/OSNAME/OSVERSION/ARCH/config/yum.conf, then add those packages to some *.list file

2. Edit /vz/template/OSNAME/OSVERSION/ARCH/config/install-post (or install-pre, or update-post), adding some tweaks here. This is the way to go if you need to alter something left after installing RPMS, and you do not want to rebuild those RPMS.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: OpenVZ & Shorewall
Next Topic: Problems compiling kernel 2.6.16
Goto Forum:
  


Current Time: Sat Aug 30 01:56:57 GMT 2025

Total time taken to generate the page: 0.11755 seconds