Gather config files for libvirt
This change ensures that config files for the libvirt service is gathered when copying log files so that we can debug any issue with the libvirt service in detail. Change-Id: I05bda8921a97e2c3dad2ffcb3784cd43b7f6654b
This commit is contained in:
parent
69ae5c28ef
commit
d1e9389e3f
14
copy_logs.sh
14
copy_logs.sh
@ -135,6 +135,20 @@ fi
|
||||
if [ -d /var/log/libvirt ] ; then
|
||||
sudo cp -r /var/log/libvirt $LOG_DIR/
|
||||
fi
|
||||
if [ -d /etc/libvirt ]; then
|
||||
sudo cp -r /etc/libvirt $LOG_DIR/etc/
|
||||
fi
|
||||
if use_debs; then
|
||||
if [ -f /etc/default/libvirtd ]; then
|
||||
mkdir $LOG_DIR/etc/default
|
||||
sudo cp /etc/default/libvirtd $LOG_DIR/etc/default/
|
||||
fi
|
||||
elif is_fedora; then
|
||||
if [ -f /etc/sysconfig/libvirtd ]; then
|
||||
mkdir $LOG_DIR/etc/sysconfig
|
||||
sudo cp /etc/sysconfig/libvirtd $LOG_DIR/etc/sysconfig/
|
||||
fi
|
||||
fi
|
||||
|
||||
# openvswitch
|
||||
if [ -d /var/log/openvswitch ] ; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user