Add Focal images for Libvirt

This patch adds images using Focal for Libvirt, primarily, the
libvirt-bin package which was a transitionary package is now
installing the explicit daemon and client packages and the ipxe-qemu
includes all the ROMs for iPXE booting.

It also drops the Xenial images as they are no longer supported
and quite old now.

Change-Id: Ic0a2ad8610c383dbbe8b71020612d11dc2f1040e
This commit is contained in:
Mohammed Naser
2021-05-06 14:56:31 -04:00
parent d2347d0baf
commit abc5910ae0
3 changed files with 21 additions and 12 deletions

View File

@@ -1,9 +1,10 @@
ARG FROM=docker.io/ubuntu:xenial
ARG FROM=docker.io/ubuntu:focal
FROM ${FROM}
LABEL maintainer="pete.birley@att.com"
LABEL maintainer="mnaser@vexxhost.com"
ARG UBUNTU_RELEASE=xenial
ARG CEPH_RELEASE=mimic
ARG UBUNTU_RELEASE=focal
ARG CEPH_RELEASE=octopus
ARG CEPH_RELEASE_TAG=""
ARG PROJECT=nova
ARG UID=42424
ARG GID=42424
@@ -14,5 +15,11 @@ ARG CEPH_KEY=http://download.ceph.com/keys/release.asc
ADD ${CEPH_KEY} /etc/apt/ceph-${CEPH_RELEASE}.key
COPY ./ubuntu-install-libvirt.sh /tmp/ubuntu-install-libvirt.sh
RUN set -ex ;\
export DEBIAN_FRONTEND=noninteractive ;\
apt-get update ;\
apt-get install --no-install-recommends -y \
apt-transport-https \
ca-certificates \
gnupg ;\
/tmp/ubuntu-install-libvirt.sh ;\
rm -rf /tmp/*

View File

@@ -13,9 +13,11 @@ apt-get install --no-install-recommends -y \
dmidecode \
ebtables \
iproute2 \
libvirt-bin \
ipxe-qemu \
libvirt-clients \
libvirt-daemon-system \
pm-utils \
qemu \
qemu-kvm \
qemu-block-extra \
qemu-efi \
openvswitch-switch \

View File

@@ -50,12 +50,6 @@
tags:
- latest-centos_7
- "centos_7-{{ currentdate }}"
- context: libvirt
repository: openstackhelm/libvirt
dockerfile: Dockerfile.ubuntu_xenial
tags:
- latest-ubuntu_xenial
- "ubuntu_xenial-{{ currentdate }}"
- context: libvirt
repository: openstackhelm/libvirt
dockerfile: Dockerfile.ubuntu_bionic
@@ -66,6 +60,12 @@
- "CEPH_REPO=https://mirror.mirantis.com/testing/ceph-nautilus/bionic/"
- "CEPH_KEY=https://mirror.mirantis.com/testing/ceph-nautilus/bionic/archive-ceph-nautilus.key"
- "CEPH_RELEASE_TAG=14.2.9-1.0~bionic"
- context: libvirt
repository: openstackhelm/libvirt
dockerfile: Dockerfile.ubuntu_focal
tags:
- latest-ubuntu_focal
- "ubuntu_focal-{{ currentdate }}"
files: &libvirt_files
- libvirt/.*
- zuul.d/libvirt.yaml