git://git.onelab.eu
/
linux-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a769556
)
(no commit message)
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Sun, 23 Dec 2007 19:44:05 +0000
(19:44 +0000)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Sun, 23 Dec 2007 19:44:05 +0000
(19:44 +0000)
viciinst.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/viciinst.sh
b/viciinst.sh
new file mode 100755
(executable)
index 0000000..
deea274
--- /dev/null
+++ b/
viciinst.sh
@@ -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