mirror of
https://github.com/nix-community/nixos-anywhere.git
synced 2024-09-11 16:45:28 +03:00
Merge #35
35: extra-files: use rsync -p, -FF r=phaer a=phaer Co-authored-by: phaer <hello@phaer.org>
This commit is contained in:
commit
9885361b5f
@ -244,7 +244,7 @@ if [[ -n ${extra_files:-} ]]; then
|
||||
if [[ -d $extra_files ]]; then
|
||||
extra_files="$extra_files/"
|
||||
fi
|
||||
rsync -vrlF -e "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" "$extra_files" "${ssh_connection}:/mnt/"
|
||||
rsync -rlpv -FF -e "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" "$extra_files" "${ssh_connection}:/mnt/"
|
||||
fi
|
||||
|
||||
ssh_ <<SSH
|
||||
|
Loading…
Reference in New Issue
Block a user