]> git.ipfire.org Git - people/shoehn/ipfire.org.git/commitdiff
BIO: Remove old stuff.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 24 May 2013 17:19:21 +0000 (19:19 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 24 May 2013 17:19:21 +0000 (19:19 +0200)
webapp/__init__.py
webapp/handlers_boot.py

index c613ac86902d1afbde7cbb216a61f10260181f65..3788e5f6fcb574ed1ca04b33dfe2e757b0a49535 100644 (file)
@@ -181,7 +181,6 @@ class Application(tornado.web.Application):
                        # Configurations
                        (r"/menu.gpxe", MenuGPXEHandler),
                        (r"/menu.cfg", MenuCfgHandler),
-                       (r"/config/([0-9]+)/boot.gpxe", BootGPXEHandler),
 
                        # Static files
                        (r"/(boot\.png|premenu\.cfg|pxelinux\.0|menu\.c32|vesamenu\.c32)",
index 5220837f449c1d9c0bbd0d950a37aef487ebf394..f56afb888f54b7270c4d29c5f1e54c3a46f2373e 100644 (file)
@@ -128,27 +128,3 @@ class MenuCfgHandler(BootBaseHandler):
                menu = self._menu_string(self.netboot.get_menu(1))
 
                self.render("netboot/menu.cfg", menu=menu)
-
-
-class BootGPXEHandler(BootBaseHandler):
-       def get(self, id):
-               config = self.netboot.get_config(id)
-               if not config:
-                       raise tornado.web.HTTPError(404, "Configuration with ID '%s' was not found" % id)
-
-               lines = ["#!gpxe", "imgfree",]
-
-               line = "kernel -n img %s" % config.image1
-               if line.endswith(".iso"):
-                       line += " iso"
-               if config.args:
-                       line += " %s" % config.args
-               lines.append(line)
-
-               if config.image2:
-                       lines.append("initrd -n img %s" % config.image2)
-
-               lines.append("boot img")
-
-               for line in lines:
-                       self.write("%s\n" % line)