diskimage-builder/elements/redhat-common
Derek Higgins fadb613e78 Download a compressed centos cloud images
The centos cloud images are both arround a GB in size, and
downloading them causes lot of CI timeouts, downloading the
compressed version saves 700MB of bandwith and should save
a lot of time.

Change-Id: I8dcd1db81fe5c4661945638ef3e6344fdf651243
2015-09-17 10:03:59 +01:00
..
bin Download a compressed centos cloud images 2015-09-17 10:03:59 +01:00
finalise.d redhat-common: rename 01-clean-old-kernels.sh to drop .sh extension 2015-05-20 16:17:53 +02:00
pre-install.d Remove grub2 in redhat-common/pre-install.d/15-remove-grub 2015-09-02 15:15:13 +10:00
element-deps Use package-installs in more elements 2014-09-08 15:16:14 -04:00
package-installs.yaml Remove grub2 in redhat-common/pre-install.d/15-remove-grub 2015-09-02 15:15:13 +10:00
README.rst Download a compressed centos cloud images 2015-09-17 10:03:59 +01:00

redhat-common

Image installation steps common to RHEL, CentOS, and Fedora.

Requirements:

If used to build an image form a cloud image compress with xz (the default in centos), this element uses "unxz" to decompress the image. Depending on your distro you may need to install either the xz or xz-utils package.

Overrides:

DIB_LOCAL_IMAGE
Required

No

Default

None

Description

Use the local path of a qcow2 cloud image. This is useful in that you can use a customized or previously built cloud image from diskimage-builder as input. The cloud image does not have to have been built by diskimage-builder. It should be a full disk image, not just a filesystem image.

Example

DIB_LOCAL_IMAGE=rhel-guest-image-7.1-20150224.0.x86_64.qcow2