projects
/
mirror
/
dsa-wiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e502a1b
)
Also set kernel image postinst and postrm hook
author
Peter Palfrader
<peter@palfrader.org>
Sat, 4 Apr 2009 09:37:23 +0000
(11:37 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 4 Apr 2009 09:37:23 +0000
(11:37 +0200)
input/howto/install-kvm.creole
patch
|
blob
|
history
diff --git
a/input/howto/install-kvm.creole
b/input/howto/install-kvm.creole
index
b20b8e0
..
c7f0174
100644
(file)
--- a/
input/howto/install-kvm.creole
+++ b/
input/howto/install-kvm.creole
@@
-123,7
+123,13
@@
setup (hd0)
quit
EOF
# install a kernel image
quit
EOF
# install a kernel image
- echo -e "do_symlinks = yes\nlink_in_boot = yes\ndo_initrd = yes" > etc/kernel-img.conf &&
+ cat > etc/kernel-img.conf << EOF &&
+do_symlinks = yes
+link_in_boot = yes
+do_initrd = yes
+postinst_hook = /usr/sbin/update-grub
+postrm_hook = /usr/sbin/update-grub
+EOF
chroot . apt-get install linux-image-2.6-amd64
}}}
chroot . apt-get install linux-image-2.6-amd64
}}}