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
- Do a clean minimal Fedora install.
- Copy in changes directory.
- Copy in appropriate /etc/resolv.conf.
- Remove packages.
- 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:
- Clean up yum temporary files: yum clean all
- Rebuild the rpm database: rpm --rebuilddb
- 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
