mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
It seems that scp is sometimes very slow (unclear what causes it as it's not always the same). Packing up the files with tar performs a lot better in these situations. And copying the files to multiple hosts in parallel additionally helps to reduce the time required for these steps. Using --overwrite and -h preserves existing symlinks (e.g. for the users file in /etc/freeradius/3.0) and overwrites the target file instead. The -m option ignores timestamps when extracting the files as some target files will be newer than the source. Using -h when packing up files in load-testconfig allows using symlinks in the test config dirs to files on the host running the tests.