Commit 37660030 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Fix up grub.cfg in disk_hacks() so that a disk image will boot the

correct (non-xen) kernel.
parent d71cb327
......@@ -2369,6 +2369,9 @@ sub disk_hacks($)
# Run prepare inside to clean up.
system("/usr/sbin/chroot $path /usr/local/etc/emulab/prepare -N");
# Fix of grub to boot non-xen env.
system("sed -i.bak -e 's/default=.*/default=0/' $path/boot/grub/grub.cfg");
# don't try to recursively boot vnodes!
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment