Merge "CentOS: Capture yum repository files"

This commit is contained in:
Zuul 2022-02-08 18:31:32 +00:00 committed by Gerrit Code Review
commit 6f8abd6e0a
1 changed files with 4 additions and 0 deletions

View File

@ -239,6 +239,10 @@ if [ `command -v gem` ]; then
gem list |sort > $LOG_DIR/gem-list.txt
fi
if is_fedora; then
sudo cp -r /etc/yum.repos.d $LOG_DIR/etc/yum.repos.d
fi
# system status & informations
sudo cp /root/openrc $LOG_DIR/openrc.txt
sudo chmod 777 $LOG_DIR/openrc.txt