Pages

Tuesday, 9 July 2013

KIWI -- OS Image and Appliance builder

The KIWI Image System provides a complete operating system image solution for Linux supported hardware platforms as well as for virtualisation systems like KVM (Qemu), Xen, or VMware. KIWI is a command line tool and is the backend of SUSE Studio. The project is sponsored by SUSE.
KIWI is designed to operate in 2 steps. During the first step of the image creation process, KIWI creates a so called unpacked image based on a user provided image specification. During this process software from specified repositories and/or other specified software sources is installed into the unpacked image directory. In the second step KIWI creates the compact image or image in the format specified.

The image behavior is determined by the image type and the image setup with respect to configuration/customization. Behavior may range from a self installing and self configuring image to a plug and play image where no configuration by the user or the image itself is necessary.

The image specification is stored in a configuration tree (directory) that contains the primary configuration file (config.xml) and optional shell scripts and overlay files.

Feature Highlights

  • Distribution independent design
  • openSuSE, SLES, RHEL5 [CentOS] supported
  • Build images for:
    • Virtualization systems KVM, VMware, VirtualBox, Xen, and others
    • The Cloud, Amazon EC2 (AMI), Eucalyptus, OpenNebula, OpenStack, and others
    • Network deployment (PXE)
    • Pre-installed OEM systems
    • Portable USB-Storage, live or self installing (Stick or drive)
    • CD/DVD, live or self installing
  • Centralized image description based around a configuration XML file
  • Supported architectures:
    • x86, x86_64, s390, ppc
  • Support for LVM
  • Support for xfs,btrfs,ext[2,3,4]
  • Support for encryption
  • and many more

Eager to start with your first appliance ?

With the SUSE Studio web application you can create an image in no time and you can even test the created image in your browser. Getting started KIWI on the command line is not quite as speedy. You can get going by following the examples in the KIWI Cookbook. The latest KIWI documentation can be found here. The latest kiwi XML schema documentation can be found here. The documentation also describes the build of the examples provided by KIWI in the examples directory as part of the documentation package.

Install

RPM packages can be found in the Virtualization/Appliances project in the openSUSE Build Service at http://download.opensuse.org/repositories/Virtualization:/Appliances

FROM http://opensuse.github.io/kiwi/