From fb52aca9cb9d1d0c82d77253be3d564362b10985 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Fri, 11 Dec 2020 11:30:27 +1100 Subject: [PATCH] centos mirror: exclude dot-files The upstream mirror seems to have some dotfiles that give permissions errors when trying to rsync. Ignore all dotfiles. Change-Id: Ic165b27ba190667f2b6b9e17cfa3ebe2ea6b9fb3 --- playbooks/roles/mirror-update/files/centos-mirror-update | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/roles/mirror-update/files/centos-mirror-update b/playbooks/roles/mirror-update/files/centos-mirror-update index 452d90c301..2f11ad87ce 100755 --- a/playbooks/roles/mirror-update/files/centos-mirror-update +++ b/playbooks/roles/mirror-update/files/centos-mirror-update @@ -42,6 +42,7 @@ $K5START rsync -rltvz \ --delete \ --delete-excluded \ --exclude="isos" \ + --exclude=".*" \ $MIRROR $BASE/8-stream # @@ -59,6 +60,7 @@ $K5START rsync -rltvz \ --delete \ --delete-excluded \ --exclude="isos" \ + --exclude=".*" \ $MIRROR $BASE/8 #