diff --git a/deploy-all-full.sh b/deploy-all-full.sh index 25478cb..ee8723f 100755 --- a/deploy-all-full.sh +++ b/deploy-all-full.sh @@ -2,13 +2,13 @@ ./check.sh -for node in k3s{{1..16},-rock{1..7}} backup{1,2} build2 redtail{,2} whitestorm2 jellyfin; +for node in k3s{1..16} backup{1,2} build2 redtail{,2} whitestorm2 jellyfin; do echo "Garbage collecting ${node}" ssh -t $node 'sudo nix-collect-garbage -d' done -for node in k3s{{1..16},-rock{1..7}}; +for node in k3s{1..16}; do echo "Pruning ${node}" ssh -t $node 'sudo k3s crictl rmi --prune'