copy_logs: retrieve list of repositories in use
Change-Id: Ia79e8c5fc8cbab3401e293603b21a3f4c394ee05
This commit is contained in:
parent
902dc22562
commit
d9e7eff452
@ -164,12 +164,14 @@ if [ -d /etc/openstack-dashboard ]; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# package status
|
# package status and repository list
|
||||||
if [ `command -v dpkg` ]; then
|
if [ `command -v dpkg` ]; then
|
||||||
dpkg -l> $LOG_DIR/dpkg-l.txt
|
dpkg -l> $LOG_DIR/dpkg-l.txt
|
||||||
|
apt-cache policy > $LOG_DIR/apt-cache-policy.txt
|
||||||
fi
|
fi
|
||||||
if [ `command -v rpm` ]; then
|
if [ `command -v rpm` ]; then
|
||||||
rpm -qa > $LOG_DIR/rpm-qa.txt
|
rpm -qa > $LOG_DIR/rpm-qa.txt
|
||||||
|
yum repolist -v > $LOG_DIR/repolist.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# system status & informations
|
# system status & informations
|
||||||
|
Loading…
Reference in New Issue
Block a user