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:
@@ -1,9 +1,10 @@
|
|||||||
ARG FROM=docker.io/ubuntu:xenial
|
ARG FROM=docker.io/ubuntu:focal
|
||||||
FROM ${FROM}
|
FROM ${FROM}
|
||||||
LABEL maintainer="pete.birley@att.com"
|
LABEL maintainer="mnaser@vexxhost.com"
|
||||||
|
|
||||||
ARG UBUNTU_RELEASE=xenial
|
ARG UBUNTU_RELEASE=focal
|
||||||
ARG CEPH_RELEASE=mimic
|
ARG CEPH_RELEASE=octopus
|
||||||
|
ARG CEPH_RELEASE_TAG=""
|
||||||
ARG PROJECT=nova
|
ARG PROJECT=nova
|
||||||
ARG UID=42424
|
ARG UID=42424
|
||||||
ARG GID=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
|
ADD ${CEPH_KEY} /etc/apt/ceph-${CEPH_RELEASE}.key
|
||||||
COPY ./ubuntu-install-libvirt.sh /tmp/ubuntu-install-libvirt.sh
|
COPY ./ubuntu-install-libvirt.sh /tmp/ubuntu-install-libvirt.sh
|
||||||
RUN set -ex ;\
|
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 ;\
|
/tmp/ubuntu-install-libvirt.sh ;\
|
||||||
rm -rf /tmp/*
|
rm -rf /tmp/*
|
||||||
@@ -13,9 +13,11 @@ apt-get install --no-install-recommends -y \
|
|||||||
dmidecode \
|
dmidecode \
|
||||||
ebtables \
|
ebtables \
|
||||||
iproute2 \
|
iproute2 \
|
||||||
libvirt-bin \
|
ipxe-qemu \
|
||||||
|
libvirt-clients \
|
||||||
|
libvirt-daemon-system \
|
||||||
pm-utils \
|
pm-utils \
|
||||||
qemu \
|
qemu-kvm \
|
||||||
qemu-block-extra \
|
qemu-block-extra \
|
||||||
qemu-efi \
|
qemu-efi \
|
||||||
openvswitch-switch \
|
openvswitch-switch \
|
||||||
|
|||||||
@@ -50,12 +50,6 @@
|
|||||||
tags:
|
tags:
|
||||||
- latest-centos_7
|
- latest-centos_7
|
||||||
- "centos_7-{{ currentdate }}"
|
- "centos_7-{{ currentdate }}"
|
||||||
- context: libvirt
|
|
||||||
repository: openstackhelm/libvirt
|
|
||||||
dockerfile: Dockerfile.ubuntu_xenial
|
|
||||||
tags:
|
|
||||||
- latest-ubuntu_xenial
|
|
||||||
- "ubuntu_xenial-{{ currentdate }}"
|
|
||||||
- context: libvirt
|
- context: libvirt
|
||||||
repository: openstackhelm/libvirt
|
repository: openstackhelm/libvirt
|
||||||
dockerfile: Dockerfile.ubuntu_bionic
|
dockerfile: Dockerfile.ubuntu_bionic
|
||||||
@@ -66,6 +60,12 @@
|
|||||||
- "CEPH_REPO=https://mirror.mirantis.com/testing/ceph-nautilus/bionic/"
|
- "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_KEY=https://mirror.mirantis.com/testing/ceph-nautilus/bionic/archive-ceph-nautilus.key"
|
||||||
- "CEPH_RELEASE_TAG=14.2.9-1.0~bionic"
|
- "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
|
files: &libvirt_files
|
||||||
- libvirt/.*
|
- libvirt/.*
|
||||||
- zuul.d/libvirt.yaml
|
- zuul.d/libvirt.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user