Forráskód Böngészése

Flip default to sub, add exceptions for deb on ubuntu

Antony Messerli 1 éve
szülő
commit
c0874c5e39
1 módosított fájl, 4 hozzáadás és 6 törlés
  1. 4 6
      roles/netbootxyz/templates/menu/ubuntu.ipxe.j2

+ 4 - 6
roles/netbootxyz/templates/menu/ubuntu.ipxe.j2

@@ -14,7 +14,7 @@ clear ubuntu_version
 clear install_type
 clear older_release
 clear install_url
-set install_type deb
+set install_type sub
 set install_priority critical
 menu ${os} - ${os_arch}
 item --gap Latest Releases
@@ -25,11 +25,9 @@ item --gap Older Releases
 item older_release ${space} Set release codename...
 choose ubuntu_version || goto ubuntu_exit
 iseq ${ubuntu_version} older_release && goto older_release ||
-iseq ${ubuntu_version} focal && set install_type sub ||
-iseq ${ubuntu_version} jammy && set install_type sub ||
-iseq ${ubuntu_version} lunar && set install_type sub ||
-iseq ${ubuntu_version} mantic && set install_type sub ||
-iseq ${ubuntu_version} noble && set install_type sub ||
+iseq ${ubuntu_version} bionic && set install_type deb ||
+iseq ${ubuntu_version} xenial && set install_type deb ||
+iseq ${ubuntu_version} focal-legacy && set install_type deb ||
 iseq ${ubuntu_version} focal-legacy && set ubuntu_version focal ||
 iseq ${install_type} sub && goto boot_type ||
 iseq ${os_arch} arm64 && echo "arm64 not supported on legacy network installs, please use 20.04 Subiquity and up" && sleep 5 && goto ubuntu ||