* Do a nix-channel update on every machine.
svn path=/configurations/trunk/tud/; revision=8090
Eelco Dolstra committed
Feb 28, 2007 at 00:48 UTC
ebf372f16d5d6c32b17583e23ff0e950618d7e4c
1 file changed
+1
-1
mass-update.sh
+1
-1
@@ -2,5 +2,5 @@
2
3
for i in 127.0.0.1 192.168.1.13 192.168.1.14 "127.0.0.1 -p 2222"; do
4
echo "=== Updating $i ==="
5
- ssh -i /root/.ssh/id_mass_update root@$i sh --login -c '"cd /etc/nixos && svn up nixos nixpkgs configurations && nixos-rebuild switch"'
5
+ ssh -i /root/.ssh/id_mass_update root@$i sh --login -c '"cd /etc/nixos && svn up nixos nixpkgs configurations && nix-channel --update && nixos-rebuild switch"'
6
done