Merge "Map build host repos to distro.repos.d instead of yum.repos.d"

This commit is contained in:
Zuul
2020-11-30 14:43:33 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -175,7 +175,7 @@ class TestContainerImages(deploy_fakes.TestDeployOvercloud):
( (
"volumes", "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", "/etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z",
"bind/mount", "bind/mount",
], ],

View File

@@ -186,7 +186,7 @@ class Build(command.Command):
dest="volumes", dest="volumes",
metavar="<volume-path>", metavar="<volume-path>",
default=[ 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", "/etc/pki/rpm-gpg:/etc/pki/rpm-gpg:z",
], ],
action="append", action="append",