[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Making system templates

  • To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • Date: Tue, 9 Jun 2009 10:41:29 +0700
  • Delivery-date: Mon, 08 Jun 2009 20:42:08 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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.


Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.