Antony Messerli 9 tahun lalu
induk
melakukan
b6bddafa0c
1 mengubah file dengan 5 tambahan dan 1 penghapusan
  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