Browse Source

Merge "Update ro excludes" into stable/queens

changes/78/708978/1
Zuul 4 months ago
committed by Gerrit Code Review
parent
commit
24fa893673
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      docker/docker-puppet.py

+ 4
- 1
docker/docker-puppet.py View File

@@ -266,7 +266,10 @@ with open(sh_script, 'w') as script_file:

# Exclude read-only mounted directories/files which we do not want
# 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
if [ -e "$ro" ]; then
exclude_files+=" --exclude=$ro"


Loading…
Cancel
Save