diff options
| author | Steven Dake <stdake@cisco.com> | 2015-08-16 10:03:45 -0700 |
|---|---|---|
| committer | Steven Dake <stdake@cisco.com> | 2015-08-17 10:06:08 -0700 |
| commit | bcd9f2c23d25fc979613e9923d7af21a244dd12c (patch) | |
| tree | 3d71859fb83c254af092a4321a619b7d7937e677 /docker_templates/openvswitch | |
| parent | a765e6a7082b3e058ab1a63618147024ea0a4ed5 (diff) | |
| download | kolla-bcd9f2c23d25fc979613e9923d7af21a244dd12c.tar.gz kolla-bcd9f2c23d25fc979613e9923d7af21a244dd12c.zip | |
Make openvswitch build from source
The openvswich package is only available in the rdo repositories.
Change-Id: Ic4b22fd0fd27508f3b08c776b8c784ee89ac811d
Partially-Impelements: gate-source-builds
Diffstat (limited to 'docker_templates/openvswitch')
| -rw-r--r-- | docker_templates/openvswitch/ovs-base/Dockerfile.j2 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docker_templates/openvswitch/ovs-base/Dockerfile.j2 b/docker_templates/openvswitch/ovs-base/Dockerfile.j2 index e4da1ac49..f1e00e5d0 100644 --- a/docker_templates/openvswitch/ovs-base/Dockerfile.j2 +++ b/docker_templates/openvswitch/ovs-base/Dockerfile.j2 @@ -3,7 +3,14 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla) {% if base_distro in ['fedora', 'centos', 'oraclelinux'] %} -RUN yum install -y openvswitch \ + # TODO(sdake): groan openvswitch is only in the RDO repos + {% if install_type == 'source' %} +RUN yum install -y https://rdoproject.org/repos/openstack-kilo/rdo-release-kilo.rpm \ + && yum clean all + {% endif %} + +RUN yum install -y \ + openvswitch \ && yum clean all {% elif base_distro in ['ubuntu', 'debian'] %} |
