diskimage-builder/elements/redhat-common
Victor Lowther 38b14df72c Make diskimage-builder work in Docker.
When running inside a Docker container, we cannot rely on devices in
/dev/mapper to be automagically created by udev, because we probably
don't have a udev at all.  To work around this, run dmsetup mknodes
after every kpartx run.

Change-Id: If7e30579224ce54c5ed26d08974d8293c144719a
2014-09-15 06:43:53 -05:00
..
bin Make diskimage-builder work in Docker. 2014-09-15 06:43:53 -05:00
finalise.d Correction: if then statement code style. 2014-07-07 03:43:15 -07:00
install.d Use package-installs in more elements 2014-09-08 15:16:14 -04:00
pre-install.d Use package-installs in more elements 2014-09-08 15:16:14 -04:00
element-deps Use package-installs in more elements 2014-09-08 15:16:14 -04:00
README.md add some missing \n at end of file 2014-05-06 13:43:53 +02: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.