Merge "Mount yum/vars along with yum repos"

This commit is contained in:
Zuul 2021-05-05 18:03:55 +00:00 committed by Gerrit Code Review
commit 6ee663848e
2 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,7 @@
buildah run
--volume {{ yum_install.path }}:/tmp/yum_install.sh
--volume {{ yum_repos_dir_path }}:/etc/yum.repos.d
--volume /etc/yum/vars:/etc/yum/vars
{% for repo in file_repos.stdout_lines %}
{% if repo is exists %}
--volume {{ repo }}:{{ repo }}
@ -57,6 +58,7 @@
buildah --debug run
--volume {{ yum_install.path }}:/tmp/yum_install.sh
--volume {{ yum_repos_dir_path }}:/etc/yum.repos.d
--volume /etc/yum/vars:/etc/yum/vars
{% for repo in file_repos.stdout_lines %}
{% if repo is exists %}
--volume {{ repo }}:{{ repo }}

View File

@ -107,6 +107,7 @@
buildah run
--volume {{ yum_update.path }}:/tmp/yum_update.sh
--volume {{ yum_repos_dir_path }}:/etc/yum.repos.d
--volume /etc/yum/vars:/etc/yum/vars
--volume /etc/pki:/etc/pki
{% if cache_volume is defined and cache_volume %}
--volume {{ cache_volume }}
@ -128,6 +129,7 @@
buildah --debug run
--volume {{ yum_update.path }}:/tmp/yum_update.sh
--volume {{ yum_repos_dir_path }}:/etc/yum.repos.d
--volume /etc/yum/vars:/etc/yum/vars
--volume /etc/pki:/etc/pki
{% for repo in file_repos.stdout_lines %}
{% if repo is exists %}