소스 검색

Add latest popos

closes https://github.com/netbootxyz/netboot.xyz/pull/1041
Antony Messerli 3 년 전
부모
커밋
9651001ac1
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      roles/netbootxyz/templates/menu/live-popos.ipxe.j2

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

@@ -6,6 +6,7 @@ goto ${menu} ||
 set os Pop os Live
 menu ${os}
 item --gap ${os} Versions
+item hirsute ${space} ${os} 21.04
 item focal ${space} ${os} 20.04
 item bionic ${space} ${os} 18.04
 choose live_version || goto live_exit
@@ -13,6 +14,14 @@ menu ${os} ${live_version}
 item --gap ${os} Flavors
 goto ${live_version}
 
+:hirsute
+{% for key, value in endpoints.items() | sort %}
+{% if value.os == "pop" and 'squash' in key and value.version == "21.04" %}
+item {{ key }} ${space} {{ value.os | title }} {{ value.version }} {{ value.flavor | title}}
+{% endif %}
+{% endfor %}
+goto flavor_select
+
 :focal
 {% for key, value in endpoints.items() | sort %}
 {% if value.os == "pop" and 'squash' in key and value.version == "20.04" %}
@@ -55,6 +64,7 @@ initrd ${kernel_url}initrd
 boot
 
 :20.04-boot
+:21.04-boot
 imgfree
 kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=url url=${squash_url} {{ kernel_params }}
 initrd ${kernel_url}initrd