Ian Wienand e531980a14 Remove RedHat grub workaround install
AFAICT this is no longer necessary.  I've tested minimal and image
builds and they seem to work.

The original problem seems to be with installing the package in the
chroot, although it was never quite clear it ever affected the Red Hat
path.

This code is currently broken (see
I884cb1e78ad8c31d985f3fc94a58091b993edd7d).  This is proposed as an
alternative to I74eed074494134334d5e49042bb5214bd0dd7339.

Related-Bug: #1627000

Change-Id: Iafe3611f4eec3c6357587a6cae6a30a261686ead
2016-10-25 15:52:27 +11:00
..
2016-09-27 09:41:32 +02:00
2016-08-12 12:49:19 +02: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.

Environment Variables

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

DIB_DISABLE_KERNEL_CLEANUP
Required

No

Default

0

Description

Specify if kernel needs to be cleaned up or not. When set to true, the bits that cleanup old kernels will not be executed.

Example

DIB_DISABLE_KERNEL_CLEANUP=1