Parcourir la source

Use main repo for newest Ubuntu if Disco

Uses the main repo instead of updates as the updates repo
for the newest version may not have been populated yet.

Fixes https://github.com/antonym/netboot.xyz/issues/327
Antony Messerli il y a 6 ans
Parent
commit
279d7c514a
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/ubuntu.ipxe

+ 1 - 0
src/ubuntu.ipxe

@@ -32,6 +32,7 @@ goto deb_boot_type
 :mirrorcfg
 set mirrorcfg mirror/suite=${ubuntu_version}
 set dir ${ubuntu_base_dir}/dists/${ubuntu_version}-updates/main/installer-${arch_a}/current/images/netboot/
+iseq ${ubuntu_version} disco && set dir ${ubuntu_base_dir}/dists/${ubuntu_version}/main/installer-${arch_a}/current/images/netboot ||
 
 :deb_boot_type
 menu ${os} [${ubuntu_version}] Installer