Browse Source

Merge "Mount yum/vars along with yum repos"

changes/99/789999/1
Zuul 6 months ago
committed by Gerrit Code Review
parent
commit
6ee663848e
  1. 2
      tasks/yum_install_buildah.yml
  2. 2
      tasks/yum_update_buildah.yml

2
tasks/yum_install_buildah.yml

@ -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 }}

2
tasks/yum_update_buildah.yml

@ -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 %}

Loading…
Cancel
Save