소스 검색

Merge pull request #1283 from chris18890/ubuntu-mantic

Add Ubuntu mantic support
Antony Messerli 1 년 전
부모
커밋
ba2442e894
3개의 변경된 파일13개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      roles/netbootxyz/defaults/main.yml
  2. 10 0
      roles/netbootxyz/templates/menu/live-ubuntu.ipxe.j2
  3. 1 0
      roles/netbootxyz/templates/menu/ubuntu.ipxe.j2

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

@@ -619,6 +619,8 @@ releases:
     mirror: http://archive.ubuntu.com
     name: Ubuntu
     versions:
+    - code_name: mantic
+      name: 23.10 Mantic Minotaur
     - code_name: lunar
       name: 23.04 Lunar Lobster
     - 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 mantic ${space} ${os} 23.10
 item lunar ${space} ${os} 23.04
 item jammy ${space} ${os} 22.04
 item focal ${space} ${os} 20.04
@@ -15,6 +16,14 @@ menu ${os} ${live_version}
 item --gap ${os} Flavors
 goto ${live_version}
 
+:mantic
+{% for key, value in endpoints.items() | sort %}
+{% if value.os == "ubuntu" and 'squash' in key and value.version == "23.10" %}
+item {{ key }} ${space} {{ value.os | title }} {{ value.version }} {{ value.flavor | title }}
+{% endif %}
+{% endfor %}
+goto flavor_select
+
 :lunar
 {% for key, value in endpoints.items() | sort %}
 {% if value.os == "ubuntu" and 'squash' in key and value.version == "23.04" %}
@@ -75,6 +84,7 @@ boot
 :20.04-boot
 :22.04-boot
 :23.04-boot
+:23.10-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

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