diff options
Diffstat (limited to 'docker/opendaylight')
| -rw-r--r-- | docker/opendaylight/Dockerfile.j2 | 17 | ||||
| -rw-r--r-- | docker/opendaylight/opendaylight.repo | 5 |
2 files changed, 1 insertions, 21 deletions
diff --git a/docker/opendaylight/Dockerfile.j2 b/docker/opendaylight/Dockerfile.j2 index 1b5f76a35..8a005b379 100644 --- a/docker/opendaylight/Dockerfile.j2 +++ b/docker/opendaylight/Dockerfile.j2 @@ -10,22 +10,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% block opendaylight_install %} {% set opendaylight_packages = ['opendaylight'] %} -{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %} - - {% if opendaylight_repo is not defined %} - {% set opendaylight_repo = 'opendaylight.repo' %} - {% endif %} - -COPY {{ opendaylight_repo }} /etc/yum.repos.d/ - -{% elif base_distro in ['debian', 'ubuntu'] %} - {% if base_distro in 'debian' %} - {% if odl_release_deb_url is not defined %} - {% set odl_release_deb_url = 'http://download.opensuse.org/repositories/home:/akshitajha/Debian_8.0/' %} - {% endif %} -RUN sh -c "echo 'deb {{ odl_release_deb_url }} /' > /etc/apt/sources.list.d/opendaylight.list" - {% endif %} - +{% if base_distro in ['debian', 'ubuntu'] %} # NOTE(egonzalez): ODL fails to install in debian family images with # existing odl user. First install odl and then allow usage of # install_packages macro for custom configs. diff --git a/docker/opendaylight/opendaylight.repo b/docker/opendaylight/opendaylight.repo deleted file mode 100644 index 8c0c299fd..000000000 --- a/docker/opendaylight/opendaylight.repo +++ /dev/null @@ -1,5 +0,0 @@ -[opendaylight] -name=CentOS CBS OpenDaylight Release Repository -baseurl=http://cbs.centos.org/repos/nfv7-opendaylight-6-release/x86_64/os/ -enabled=1 -gpgcheck=0 |
