We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ec9c60 commit bfe5516Copy full SHA for bfe5516
images/populate_jail/populate_jail_entrypoint.sh
@@ -14,7 +14,7 @@ echo "Delete everything from jail directory"
14
rm -rf -- /mnt/jail/..?* /mnt/jail/.[!.]* /mnt/jail/*
15
16
echo "Rclone and rsync jail rootfs into jail directory"
17
-rclone copy /jail /mnt/jail --progress --transfers="$(nproc)" --links
+rclone copy /jail /mnt/jail --progress --transfers="$(( $(nproc) * 2 ))" --links
18
rsync --verbose --archive --one-file-system --xattrs --numeric-ids --sparse --acls --hard-links /jail/ /mnt/jail/
19
20
echo "Set permissions for jail directory"
0 commit comments