CentOS: Fix missing config files
Some of the config files are placed directly in /etc . Make sure these files are captured. Change-Id: I70996df1cb693bcd8b3aa7b213633b361eb8f32a (cherry picked from commit 03380e72f256b85bdb6ed03f5f9dc6e17d335c8b)
This commit is contained in:
parent
b04e9c25e3
commit
14e3076ad6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user