Comment 5 for bug 1885624

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tools (master)

Reviewed: https://review.opendev.org/738484
Committed: https://git.openstack.org/cgit/starlingx/tools/commit/?id=aa23b041b133c032efce238afb529e840fac58a8
Submitter: Zuul
Branch: master

commit aa23b041b133c032efce238afb529e840fac58a8
Author: Davlet Panech <email address hidden>
Date: Mon Jun 29 10:45:31 2020 -0400

    Dockerfile: add mirror repos to global yum config

    Copy mirror repo files to /etc/yum.repos.d because tb.sh needs them.
    This change fixes a problem introduced by

      Commit: 78263e8784c5f596af2a20b9c6e214fc6fea4878
      Dockerfile: pin centos & epel repo versions

    that caused centos-mirror-tools/download_mirror.sh to fail when executed
    from a docker container created by tb.sh -- "rpm not found" for most
    packages being downloaded.

    This is because download_mirror.sh without additional arguments expects
    toCOPY/yum.repos.d/ files to have been copied to /etc/yum.repos.d/ in the
    docker container by default.

    Change-Id: If214aea6560632837d0f196c21801fc2d06c8259
    Closes-Bug: 1885624
    Signed-off-by: Davlet Panech <email address hidden>