Browse Source

Merge "Mount yum/vars along with yum repos"

changes/99/789999/1
Zuul 1 month ago
committed by Gerrit Code Review
parent
commit
6ee663848e
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      tasks/yum_install_buildah.yml
  2. +2
    -0
      tasks/yum_update_buildah.yml

+ 2
- 0
tasks/yum_install_buildah.yml 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 }}


+ 2
- 0
tasks/yum_update_buildah.yml 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 %}


Loading…
Cancel
Save