Selaa lähdekoodia

Start stubbing out Fedora 40 and Ubuntu 24.04

Antony Messerli 1 vuosi sitten
vanhempi
commit
60208f9175

+ 4 - 0
roles/netbootxyz/defaults/main.yml

@@ -241,6 +241,8 @@ releases:
     mirror: http://mirrors.kernel.org
     name: Fedora
     versions:
+    - code_name: 40
+      name: 40
     - code_name: 39
       name: 39
     - code_name: 38
@@ -614,6 +616,8 @@ releases:
     mirror: http://archive.ubuntu.com
     name: Ubuntu
     versions:
+    - code_name: noble
+      name: 24.04 LTS Noble Numbat
     - code_name: mantic
       name: 23.10 Mantic Minotaur
     - code_name: jammy

+ 10 - 0
roles/netbootxyz/templates/menu/live-ubuntu.ipxe.j2

@@ -6,6 +6,7 @@ goto ${menu} ||
 set os Ubuntu Live
 menu ${os}
 item --gap ${os} Versions
+item noble ${space} ${os} 24.04
 item mantic ${space} ${os} 23.10
 item lunar ${space} ${os} 23.04
 item jammy ${space} ${os} 22.04
@@ -16,6 +17,14 @@ menu ${os} ${live_version}
 item --gap ${os} Flavors
 goto ${live_version}
 
+:noble
+{% for key, value in endpoints.items() | sort %}
+{% if value.os == "ubuntu" and 'squash' in key and value.version == "24.04" %}
+item {{ key }} ${space} {{ value.os | title }} {{ value.version }} {{ value.flavor | title }}
+{% endif %}
+{% endfor %}
+goto flavor_select
+
 :mantic
 {% for key, value in endpoints.items() | sort %}
 {% if value.os == "ubuntu" and 'squash' in key and value.version == "23.10" %}
@@ -85,6 +94,7 @@ boot
 :22.04-boot
 :23.04-boot
 :23.10-boot
+:24.04-boot
 imgfree
 kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=url url=${squash_url} {{ kernel_params }}
 initrd ${kernel_url}initrd

+ 1 - 0
roles/netbootxyz/templates/menu/ubuntu.ipxe.j2

@@ -29,6 +29,7 @@ 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} 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 ||