Mount /etc/pki during buildah yum update for RHUI
In order to make sure RHUI repos works with in a container, PKI certs dirs needs to be mounted to container so that RHUI repo solves and download the content. Related-Bug: #1854685 Change-Id: Id09059559b5c207ef6f604e4bb999528118ae096 Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
This commit is contained in:
parent
66a92a458e
commit
2dd5a11c55
|
@ -95,6 +95,7 @@
|
|||
buildah run
|
||||
--volume {{ yum_update.path }}:/tmp/yum_update.sh
|
||||
--volume {{ yum_repos_dir_path }}:/etc/yum.repos.d
|
||||
--volume /etc/pki:/etc/pki
|
||||
{% if cache_volume is defined and cache_volume %}
|
||||
--volume {{ cache_volume }}
|
||||
{% endif %}
|
||||
|
@ -115,6 +116,7 @@
|
|||
buildah --debug run
|
||||
--volume {{ yum_update.path }}:/tmp/yum_update.sh
|
||||
--volume {{ yum_repos_dir_path }}:/etc/yum.repos.d
|
||||
--volume /etc/pki:/etc/pki
|
||||
{% if cache_volume is defined and cache_volume %}
|
||||
--volume {{ cache_volume }}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue