From 6c664af12e815d789ab182a6ea7e8e4213782506 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 19 Jul 2022 01:22:02 +0900 Subject: [PATCH] Capture network-scripts The puppet-vswitch modules manages interface scripts when a bridge is connected to a physical interface. This change ensures the network scripts are captured in CI, so that we can review the files updated by the module. Change-Id: Id52cf40559d24ec1cce4e8cf35471fd4100d4e97 --- copy_logs.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/copy_logs.sh b/copy_logs.sh index b7b8fc4a9..f66d6f9f7 100755 --- a/copy_logs.sh +++ b/copy_logs.sh @@ -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/