Merge "Capture network-scripts"

This commit is contained in:
Zuul 2022-07-30 16:43:45 +00:00 committed by Gerrit Code Review
commit fed3733194
1 changed files with 6 additions and 0 deletions

View File

@ -85,6 +85,12 @@ if which journalctl &> /dev/null; then
sudo journalctl --no-pager > $LOG_DIR/syslog.txt
fi
# network interfaces
if [ -d /etc/sysconfig/network-scripts ]; then
mkdir -p $LOG_DIR/etc/sysconfig
sudo cp -r /etc/sysconfig/network-scripts $LOG_DIR/etc/sysconfig/
fi
# rabbitmq
if [ -d /etc/rabbitmq ]; then
sudo cp -r /etc/rabbitmq $LOG_DIR/etc/