Antony Messerli 9 gadi atpakaļ
vecāks
revīzija
b6bddafa0c
1 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  1. 5 1
      src/fedora.ipxe

+ 5 - 1
src/fedora.ipxe

@@ -59,11 +59,15 @@ goto boot
 
 :boot
 imgfree
-kernel http://${mirror}/${dir}/images/pxeboot/vmlinuz repo=http://${mirror}/${dir} ${params} ${netcfg} || chain --autofree mirrors.ipxe && goto boot
+kernel http://${mirror}/${dir}/images/pxeboot/vmlinuz repo=http://${mirror}/${dir} ${params} ${netcfg} || goto change_mirror
 initrd http://${mirror}/${dir}/images/pxeboot/initrd.img ||
 boot || 
 goto linux_menu
 
+:change_mirror
+chain --autofree mirrors.ipxe
+goto boot
+
 :linux_menu
 clear menu
 chain linux.ipxe