]> git.ipfire.org Git - ipfire.org.git/commitdiff
netboot: Download the new image over HTTP
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 11 Oct 2017 16:59:20 +0000 (18:59 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 11 Oct 2017 16:59:20 +0000 (18:59 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
webapp/handlers_boot.py

index 417c8281275d922299e78674d1044fc3674d9ed7..635d3c0794b2b0d22f1fa853afefa8141f021001 100644 (file)
@@ -68,7 +68,7 @@ class MenuGPXEHandler(BootBaseHandler):
 
                                # Everything under version 1.0.0 should be
                                # updated.
-                               if version < "1.0.0":
+                                if version < "1.0.0" or version == "1.0.0+":
                                        return self.serve_update()
 
                                # This is an outdated git build
@@ -93,10 +93,7 @@ class MenuGPXEHandler(BootBaseHandler):
                self.write("echo\necho Your copy of gPXE/iPXE is too old. ")
                self.write("Upgrade to avoid seeing this every boot!\n")
 
-                # Load CA certificates from here
-                self.write("set crosscert http://ca.ipxe.org/auto")
-
-               self.write("chain https://mirror1.ipfire.org/releases/ipfire-boot/latest/ipxe.kpxe\n")
+               self.write("chain http://mirror1.ipfire.org/releases/ipfire-boot/latest/ipxe.kpxe\n")
 
 
 class PremenuCfgHandler(BootBaseHandler):