Browse Source

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
Chris Hoge 3 months ago
parent
commit
ddbfef95ba
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      dockerfiles/centos/Dockerfile

+ 3
- 1
dockerfiles/centos/Dockerfile View File

@@ -10,4 +10,6 @@ ENV PIP_TRUSTED_HOST=${PIP_TRUSTED_HOST}
10 10
 RUN rm -rf /etc/yum.repos.d/*
11 11
 COPY CentOS.repo /etc/yum.repos.d/
12 12
 COPY RPM-GPG-KEY-CentOS-SIG-Cloud /etc/pki/rpm-gpg/
13
-RUN sed -i "s|%%PACKAGE_MIRROR%%|${PACKAGE_MIRROR}|g" /etc/yum.repos.d/CentOS.repo
13
+RUN sed -i "s|%%PACKAGE_MIRROR%%|${PACKAGE_MIRROR}|g" /etc/yum.repos.d/CentOS.repo \
14
+  && yum install -y centos-release-qemu-ev \
15
+  && yum update -y

Loading…
Cancel
Save