CentOS: Fix missing config files

Some of the config files are placed directly in /etc . Make sure these
files are captured.

Change-Id: I70996df1cb693bcd8b3aa7b213633b361eb8f32a
This commit is contained in:
Takashi Kajinami 2025-02-09 08:55:16 +09:00
parent ed5a9b0ae6
commit 03380e72f2

@ -170,9 +170,16 @@ if [ -d /etc/named ]; then
if [ -f /etc/rndc.conf ]; then
sudo cp -r /etc/rndc.conf $LOG_DIR/rndc.conf
fi
elif [ -d /etc/bind ]; then
fi
if [ -d /etc/bind ]; then
sudo cp -r /etc/bind $LOG_DIR/etc
fi
if [ -f /etc/rndc.key ]; then
sudo cp /etc/rndc.key $LOG_DIR/etc
fi
if [ -f /etc/named.conf ]; then
sudo cp /etc/named.conf $LOG_DIR/etc
fi
# tempest logs
if [ -f /tmp/openstack/tempest/tempest.log ] ; then