@cryptotaxi247 / infra / commits / 9ce25471

svn path=/configurations/trunk/tud/; revision=8098

svn path=/configurations/trunk/tud/; revision=8098

Eelco Dolstra committed Feb 28, 2007 at 13:21 UTC 9ce25471d0500a97f54a419094c7c0022de44290
1 file changed +3 -1
mass-update.sh
+3 -1
@@ -1,6 +1,8 @@
1 #! /bin/sh
2
3 +export SSH_AUTH_SOCK= # hack
4 +
5 for i in 127.0.0.1 192.168.1.13 192.168.1.14 "127.0.0.1 -p 2222"; do
6 echo "=== Updating $i ==="
5 - ssh -i /root/.ssh/id_mass_update root@$i sh --login -c '"cd /etc/nixos && svn up nixos nixpkgs configurations releases && nix-channel --update && nixos-rebuild switch"'
7 + ssh -i /root/.ssh/id_mass_update root@$i sh --login -c '"cd /etc/nixos && svn up nixos nixpkgs configurations release && nix-channel --update && nixos-rebuild switch"'
8 done