Skip to content

Commit a5ae7ee

Browse files
committed
work on rsync include patterns
1 parent a0b7cc8 commit a5ae7ee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

common/rsync-mirror.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ func Mirror(srcDir string) (mirrorDir string, cleanup func() error, err error) {
2929

3030
// Define PodmanOverlay file and directory patterns for mirror
3131
allowedPatterns := []string{
32-
"overlay/",
33-
"overlay-containers/",
34-
"overlay-images/",
35-
"overlay-layers/",
32+
"overlay/***",
33+
"overlay-containers/***",
34+
"overlay-images/***",
35+
"overlay-layers/***",
3636
"storage.lock",
3737
"userns.lock",
3838
}

0 commit comments

Comments
 (0)