diff --git a/copy_logs.sh b/copy_logs.sh index 3aa6c3a97..553d9cd37 100755 --- a/copy_logs.sh +++ b/copy_logs.sh @@ -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