Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
37660030
Commit
37660030
authored
Jan 27, 2014
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
clientside/tmcc/linux/xen/libvnode_xen.pm
clientside/tmcc/linux/xen/libvnode_xen.pm
+3
-0
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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