edd7477891
The way redhat-common's extract-image script was creating the base tarball caused file capabilities to get dropped, which meant that things like ping in RHEL 7 images was unusable for regular users. This change adds the necessary options to the tar call to maintain as many extended attributes as possible. --acls and --selinux are intentionally omitted, and the selinux xattrs are filtered out because all of those items cause issues in our chroot environment. We restore selinux attributes at the end of the build anyway so that shouldn't be a problem. bz reference: https://bugzilla.redhat.com/show_bug.cgi?id=1144149 Change-Id: Ibff99ce9bde01bc5ecf95dc3a5d3e2cebe5015b9 |
||
---|---|---|
.. | ||
bin | ||
finalise.d | ||
install.d | ||
pre-install.d | ||
element-deps | ||
README.md |
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.