Merge "Update ro excludes"
This commit is contained in:
commit
d81858b249
|
@ -94,7 +94,10 @@ if [ -z "$NO_ARCHIVE" ]; then
|
||||||
|
|
||||||
# Exclude read-only mounted directories/files which we do not want
|
# Exclude read-only mounted directories/files which we do not want
|
||||||
# to copy or delete.
|
# to copy or delete.
|
||||||
ro_files="/etc/puppetlabs/ /opt/puppetlabs/"
|
ro_files="/etc/puppetlabs/ /opt/puppetlabs/ /etc/pki/ca-trust/extracted "
|
||||||
|
ro_files+="/etc/pki/ca-trust/source/anchors /etc/pki/tls/certs/ca-bundle.crt "
|
||||||
|
ro_files+="/etc/pki/tls/certs/ca-bundle.trust.crt /etc/pki/tls/cert.pem "
|
||||||
|
ro_files+="/etc/hosts /etc/localtime"
|
||||||
for ro in $ro_files; do
|
for ro in $ro_files; do
|
||||||
if [ -e "$ro" ]; then
|
if [ -e "$ro" ]; then
|
||||||
exclude_files+=" --exclude=$ro"
|
exclude_files+=" --exclude=$ro"
|
||||||
|
|
Loading…
Reference in New Issue