Collect yum/dnf configuration on build-containers
Previous code was not collecting the yum/dnf configuration which made impossible to debug issues specific to these files. Change-Id: I6c0f7befc75ab573b7f0e936c0ffc85fa151b411
This commit is contained in:
parent
92b2ac6fdd
commit
822f5d10ca
@ -22,7 +22,8 @@
|
||||
rsync -var --no-links /var/log/ {{ workspace }}/logs/system/ || true
|
||||
rsync -var --no-links /etc/docker/ {{ workspace }}/etc/docker/ || true
|
||||
rsync -var --no-links /etc/containers/ {{ workspace }}/etc/containers/ || true
|
||||
rsync -var --no-links /etc/yum.repos.d/ {{ workspace }}/etc/yum.repos.d/ || true
|
||||
rsync -var --no-links --include 'yum.repos.d/***' --include 'yum.conf' --include 'dnf/***' --exclude='*' /etc/ {{ workspace }}/etc/ || true
|
||||
|
||||
gzip -r "{{ workspace }}/logs" "{{ workspace }}/conf" "{{ workspace }}/etc"
|
||||
chmod -R a+r "{{ workspace }}"
|
||||
chown -R {{ ansible_user }}: "{{ workspace }}"
|
||||
|
Loading…
Reference in New Issue
Block a user