[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Making system templates
On Tue, Jun 9, 2009 at 4:14 AM, Thomas Goirand<thomas@xxxxxxxxxx> wrote: >> I am wanting to set up a bunch of system templates for my Xen servers, >> to save me from running some standard package installs and >> configuration. > The best way ever is... to NOT use templates or images. Templates gets > outdated, and soon have loads of package to upgrade. The best way > (whenever possible, this is not always the case) is to use tools to pull > and setup packages out of FTP repositories. > > In Debian, there is "debootstrap" to build a debian (and many other > debian based systems) OS in a chroot. There is also yum to bootstrap RPM > based distributions (previously we were using rpmstrap, but it's not a > good idea, it gets outdated so fast...). I work mainly with RHEL, and while it's possible to use kickstart or "yum --installroot", it's still significantly slower compared to using tar.gz templates. So what I did is I maintain a set of templates which are updated regularly using crontab (extract, yum-update, repack). This way I get up-to-date template which allows domU deployment in 5 minutes or less. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |