projects
/
gnt-info
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use different kernels
[gnt-info]
/
gnt-instance-kernel.sh
diff --git
a/gnt-instance-kernel.sh
b/gnt-instance-kernel.sh
index
2351ffc
..
ee740da
100755
(executable)
--- a/
gnt-instance-kernel.sh
+++ b/
gnt-instance-kernel.sh
@@
-1,4
+1,8
@@
#!/bin/sh -xe
#!/bin/sh -xe
-gnt-instance modify -H initrd_path=/boot/initrd.img-3.10-kvmU,kernel_path=/boot/vmlinuz-3.10-kvmU $1
+KERNEL=3.16
+#KERNEL=3.10
+#KERNEL=3.2
+
+gnt-instance modify -H initrd_path=/boot/initrd.img-$KERNEL-kvmU,kernel_path=/boot/vmlinuz-$KERNEL-kvmU $1