Merge branch 'caps_next'
[barrelfish] / tools / harness / barrelfish.py
index 054666a..e7243b0 100644 (file)
@@ -63,11 +63,11 @@ class BootModules(object):
         self.del_module(name)
         self.add_module(name, args)
 
-    def get_menu_data(self, path):
+    def get_menu_data(self, path, root="(nd)"):
         assert(self.kernel[0])
         r = "timeout 0\n"
         r += "title Harness image\n"
-        r += "root (nd)\n"
+        r += "root %s\n" % root
         if self.hypervisor:
             r += "hypervisor %s\n" % os.path.join(path, self.hypervisor)
         r += "kernel %s %s\n" % (