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:
parent
ed5a9b0ae6
commit
03380e72f2
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user