mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-07-22 14:30:47 -04:00
use rsync --preallocate for deployment
This commit is contained in:
parent
05bc9199b3
commit
e56b061eb3
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ readonly remote=root@$ip
|
||||||
|
|
||||||
readonly drive=$(ssh $remote '[[ -e /dev/sda ]] && echo sda || echo vda')
|
readonly drive=$(ssh $remote '[[ -e /dev/sda ]] && echo sda || echo vda')
|
||||||
|
|
||||||
|
alias rsync='rsync --preallocate'
|
||||||
|
|
||||||
# check for Arch ISO
|
# check for Arch ISO
|
||||||
ssh $remote '[[ $(grep IMAGE_ID /etc/os-release) = "IMAGE_ID=archlinux" ]]' || exit 5
|
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
|
ssh $remote '[[ $(grep IMAGE_VERSION /etc/os-release) = "IMAGE_VERSION=2025.05.01" ]]' || exit 5
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue