Replace deploy-rs with nh for remote push deployments

This commit is contained in:
SebastianStork 2026-02-03 19:04:48 +01:00
parent 5c61459fe7
commit fee1ddd9a9
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
5 changed files with 6 additions and 100 deletions

View file

@ -40,7 +40,9 @@ reboot:
[group('remote')]
deploy +hosts:
deploy --skip-checks --targets $(echo {{ hosts }} | sed 's/[^ ]*/\.#&/g')
for host in {{ hosts }}; do \
nh os switch . --hostname=$host --target-host=$host; \
done
[group('remote')]
install host destination='root@installer':