diff options
author | Chris Evich <cevich@redhat.com> | 2019-01-21 08:48:15 -0500 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2019-01-30 08:26:48 -0500 |
commit | 8ca6706be0fff7136ba118914f6dbe3459c8f831 (patch) | |
tree | 9b274758cb11a5e0b7184ff3376b9ec829fe431c /contrib/cirrus/packer/image-builder-image_base-setup.sh | |
parent | b71088a01e1e43b87214aaca87c73865fa3b990e (diff) | |
download | podman-8ca6706be0fff7136ba118914f6dbe3459c8f831.tar.gz podman-8ca6706be0fff7136ba118914f6dbe3459c8f831.tar.bz2 podman-8ca6706be0fff7136ba118914f6dbe3459c8f831.zip |
Cirrus: Add RHEL-7 testing
Add necessary tweaks to base-image build/import process so that image
can successfully boot with networking enabled. Build the base image and
update ``.cirrus.yml`` accordingly.
Also make a minor improvement to cache-image building to help save space in
GCP image storage. Namely, instead of storing every produced image, export
them into google storage buckets w/ life-cycle enabled. For production use,
they may be converted back into GCE images, otherwise they will expire after
a time.
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/packer/image-builder-image_base-setup.sh')
-rw-r--r-- | contrib/cirrus/packer/image-builder-image_base-setup.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/cirrus/packer/image-builder-image_base-setup.sh b/contrib/cirrus/packer/image-builder-image_base-setup.sh index b8e2824a7..8cf9fd8ab 100644 --- a/contrib/cirrus/packer/image-builder-image_base-setup.sh +++ b/contrib/cirrus/packer/image-builder-image_base-setup.sh @@ -45,10 +45,13 @@ ooe.sh sudo yum -y install \ qemu-kvm-tools \ qemu-user \ rsync \ + rng-tools \ unzip \ util-linux \ vim +sudo systemctl enable rngd + sudo ln -s /usr/libexec/qemu-kvm /usr/bin/ sudo tee /etc/modprobe.d/kvm-nested.conf <<EOF |