From ddbfef95bafa467ccc73452531fdd2b5613e50b1 Mon Sep 17 00:00:00 2001 From: Chris Hoge Date: Fri, 18 Jan 2019 21:24:23 +0000 Subject: [PATCH] Update repositories of Centos base to get updated qemu The default version of qemu that ships with CentOS, 1.5, does not satisfy the minimum requirement for Nova. This path adds the CentOS Enterprise qemu Repository that will install a Nova compatible version of qemu. Change-Id: Id307f244744857bd8b1b535e10559491d34c9775 --- dockerfiles/centos/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dockerfiles/centos/Dockerfile b/dockerfiles/centos/Dockerfile index 166edd5..389ceeb 100644 --- a/dockerfiles/centos/Dockerfile +++ b/dockerfiles/centos/Dockerfile @@ -10,4 +10,6 @@ ENV PIP_TRUSTED_HOST=${PIP_TRUSTED_HOST} RUN rm -rf /etc/yum.repos.d/* COPY CentOS.repo /etc/yum.repos.d/ COPY RPM-GPG-KEY-CentOS-SIG-Cloud /etc/pki/rpm-gpg/ -RUN sed -i "s|%%PACKAGE_MIRROR%%|${PACKAGE_MIRROR}|g" /etc/yum.repos.d/CentOS.repo +RUN sed -i "s|%%PACKAGE_MIRROR%%|${PACKAGE_MIRROR}|g" /etc/yum.repos.d/CentOS.repo \ + && yum install -y centos-release-qemu-ev \ + && yum update -y