copy_logs: retrieve list of repositories in use

Change-Id: Ia79e8c5fc8cbab3401e293603b21a3f4c394ee05
This commit is contained in:
David Moreau-Simard 2016-08-26 12:23:48 -04:00
parent 902dc22562
commit d9e7eff452

View File

@ -164,12 +164,14 @@ if [ -d /etc/openstack-dashboard ]; then
done
fi
# package status
# package status and repository list
if [ `command -v dpkg` ]; then
dpkg -l> $LOG_DIR/dpkg-l.txt
apt-cache policy > $LOG_DIR/apt-cache-policy.txt
fi
if [ `command -v rpm` ]; then
rpm -qa > $LOG_DIR/rpm-qa.txt
yum repolist -v > $LOG_DIR/repolist.txt
fi
# system status & informations