Merge "Map build host repos to distro.repos.d instead of yum.repos.d" into stable/victoria

This commit is contained in:
Zuul 2020-12-22 02:33:41 +00:00 committed by Gerrit Code Review
commit 9644bea71e
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ class TestContainerImages(deploy_fakes.TestDeployOvercloud):
(
"volumes",
[
"/etc/yum.repos.d:/etc/yum.repos.d:z",
"/etc/yum.repos.d:/etc/distro.repos.d:z",
"/etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z",
"bind/mount",
],

View File

@ -194,7 +194,7 @@ class Build(command.Command):
dest="volumes",
metavar="<volume-path>",
default=[
"/etc/yum.repos.d:/etc/yum.repos.d:z",
"/etc/yum.repos.d:/etc/distro.repos.d:z",
"/etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z",
],
action="append",