From d9e7eff4526e1a61284ee333533e47b7334a5089 Mon Sep 17 00:00:00 2001 From: David Moreau-Simard Date: Fri, 26 Aug 2016 12:23:48 -0400 Subject: [PATCH] copy_logs: retrieve list of repositories in use Change-Id: Ia79e8c5fc8cbab3401e293603b21a3f4c394ee05 --- copy_logs.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/copy_logs.sh b/copy_logs.sh index ed2f288f8..fb4475581 100755 --- a/copy_logs.sh +++ b/copy_logs.sh @@ -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