Creating and Maintaining Xen Filesystem Images

This page contains notes on how to create and maintain the Xen file system images.

Creating and Configuring the File System

  1. Do a clean minimal Fedora install.
  2. Copy in changes directory.
  3. Copy in appropriate /etc/resolv.conf.
  4. Remove packages.
  5. set root's password to "root"

Reducing Image Size

The images have to be duplicated for every user on a system, so it is important to keep the base size small. Some tips on doing that:

  1. Clean up yum temporary files: yum clean all
  2. Rebuild the rpm database: rpm --rebuilddb
  3. Turn off non-U.S., non-english locales. The RPMS need to be re-installed after this:

echo "%_install_langs C:en_US.UTF-8\n%_excludedocs yes" >> /etc/rpm/macros