diskimage-builder/elements/redhat-common
Ben Nemec f6ba2aeaf4 set -e all the things
Using set -e in all of our scripts will prevent some subtle bugs
from slipping in, and will allow us to enforce use of set -e with
tooling.

This change also adds -u and set -o pipefail in the less complex
scripts where it is unlikely to cause problems.  A follow-up change
will enable those options in the complex scripts so that if it
breaks something it can be reverted easily.

Change-Id: I0ad358ccb98da7277a0ee2e9ce8fda98438675eb
2014-04-25 17:38:51 -05:00
..
bin Merge "Add mapping for mariadb rdo package" 2014-04-16 14:30:19 +00:00
finalise.d set -e all the things 2014-04-25 17:38:51 -05:00
install.d set -e all the things 2014-04-25 17:38:51 -05:00
pre-install.d set -e all the things 2014-04-25 17:38:51 -05:00
README.md Add redhat-common element 2014-03-17 16:14:36 -05:00

Image installation steps common to RHEL and Fedora.

Overrides:

  • To use a non-default URL for downloading base cloud images, use the environment variable DIB_CLOUD_IMAGES
  • To download a non-default release of cloud images, use the environment variable DIB_RELEASE
  • Alternatively, set DIB_LOCAL_IMAGE to 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.