From e56b061eb358cd0aaf6371c7e0366852c54a3c40 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 1 Jun 2025 10:01:38 -0400 Subject: [PATCH] use rsync --preallocate for deployment --- deploy-initial | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy-initial b/deploy-initial index ac9527a..4dddbe1 100755 --- a/deploy-initial +++ b/deploy-initial @@ -15,6 +15,8 @@ readonly remote=root@$ip readonly drive=$(ssh $remote '[[ -e /dev/sda ]] && echo sda || echo vda') +alias rsync='rsync --preallocate' + # check for Arch ISO ssh $remote '[[ $(grep IMAGE_ID /etc/os-release) = "IMAGE_ID=archlinux" ]]' || exit 5 ssh $remote '[[ $(grep IMAGE_VERSION /etc/os-release) = "IMAGE_VERSION=2025.05.01" ]]' || exit 5