Re: Can I create a template from an updated VPS? [message #2159 is a reply to message #2154] |
Thu, 23 March 2006 06:47  |
|
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
|
|
|