Merge "CentOS: Fix missing config files"

This commit is contained in:
Zuul 2025-02-10 16:22:22 +00:00 committed by Gerrit Code Review
commit 505138d5c9

View File

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