(no commit message)
authorSapan Bhatia <sapanb@cs.princeton.edu>
Sun, 23 Dec 2007 19:44:05 +0000 (19:44 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Sun, 23 Dec 2007 19:44:05 +0000 (19:44 +0000)
viciinst.sh [new file with mode: 0755]

diff --git a/viciinst.sh b/viciinst.sh
new file mode 100755 (executable)
index 0000000..deea274
--- /dev/null
@@ -0,0 +1,12 @@
+rm -fR inst
+mkdir inst
+make install INSTALL_PATH=inst
+make modules_install INSTALL_MOD_PATH=inst
+tar cfz inst.tar.gz inst
+scp -i ~/newvici inst.tar.gz root@$1:/tmp
+ssh -i ~/newvici root@$1 "cd /tmp;tar xvfz inst.tar.gz"
+ssh -i ~/newvici root@$1 "wget www/~sapanb/vgup;sh vgup"
+ssh -i ~/newvici root@$1 "cp -R /tmp/inst/lib/* /mnt/lib/"
+ssh -i ~/newvici root@$1 "rm -fR /tmp/inst/lib; mv /tmp/inst/* /mnt/boot"
+sleep 5
+ssh -i ~/newvici root@$1 reboot