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
This commit is contained in:
parent
6c7bddb8b2
commit
ddbfef95ba
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue