Jelajahi Sumber

Fix result too large bug and switch to low priority

Fixes https://github.com/netbootxyz/netboot.xyz/issues/828
Antony 4 tahun lalu
induk
melakukan
9af939cca0
2 mengubah file dengan 7 tambahan dan 2 penghapusan
  1. 5 0
      CHANGELOG.md
  2. 2 2
      roles/netbootxyz/templates/menu/ubuntu.ipxe.j2

+ 5 - 0
CHANGELOG.md

@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
 ## [Unreleased]
 
 ## [2.0.31]
+### Fixes
+- Fixes results too large bug introduced on Ubuntu menu
+
+### Changed
+- Change priority to low on Ubuntu Legacy installer
 
 ## [2.0.30]
 ### Added

+ 2 - 2
roles/netbootxyz/templates/menu/ubuntu.ipxe.j2

@@ -39,7 +39,7 @@ goto 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} focal && set dir ${ubuntu_base_dir}/dists/${ubuntu_version}-updates/main/installer-${arch_a}/current/legacy-images/netboot/
+iseq ${ubuntu_version} focal && set dir ${ubuntu_base_dir}/dists/${ubuntu_version}-updates/main/installer-${arch_a}/current/legacy-images/netboot/ ||
 goto boot_type
 
 :boot_type
@@ -61,7 +61,7 @@ goto deb_install
 iseq ${install_type} deb && set install_name preseed ||
 iseq ${install_type} sub && set install_name autoinstall ||
 echo -n Specify ${install_name} URL for ${os} ${ubuntu_version}: && read install_url
-iseq ${install_type} deb && set install_params auto=true priority=critical preseed/url=${install_url} ||
+iseq ${install_type} deb && set install_params auto=true priority=low preseed/url=${install_url} ||
 iseq ${install_type} sub && set install_params autoinstall ds=nocloud-net;s=${install_url} ||
 goto deb_install