Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
37660030
Commit
37660030
authored
Jan 27, 2014
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/linux/xen/libvnode_xen.pm
View file @
37660030
...
...
@@ -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!
unlink
("
$path
/usr/local/etc/emulab/bootvnodes
");
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment