Răsfoiți Sursa

Merge pull request #663 from netbootxyz/mint-20

add version 20 Linux Mint
Antony Messerli 4 ani în urmă
părinte
comite
b0e778b4fb
1 a modificat fișierele cu 15 adăugiri și 0 ștergeri
  1. 15 0
      roles/netbootxyz/templates/menu/live-mint.ipxe.j2

+ 15 - 0
roles/netbootxyz/templates/menu/live-mint.ipxe.j2

@@ -7,6 +7,7 @@ set os Mint Live
 menu ${os} - Current Arch [ ${arch} ]
 iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
 item --gap ${os} Versions
+item 20 ${space} ${os} 20
 item 19 ${space} ${os} 19
 item lmde ${space} ${os} LMDE
 choose live_version || goto live_exit
@@ -14,6 +15,14 @@ menu ${os} ${live_version}
 item --gap ${os} Flavors
 goto ${live_version}
 
+:20
+{% for key, value in endpoints.items() | sort %}
+{% if value.os == "mint" and 'squash' in key and value.version == "20" %}
+item {{ key }} ${space} {{ value.os | title }} {{ value.version }} {{ value.flavor | title}}
+{% endif %}
+{% endfor %}
+goto flavor_select
+
 :19
 {% for key, value in endpoints.items() | sort %}
 {% if value.os == "mint" and 'squash' in key and value.version == "19" %}
@@ -49,6 +58,12 @@ goto {{ value.version }}-boot
 {% endif %}
 {% endfor %}
 
+:20-boot
+imgfree
+kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=url url=${squash_url} initrd=initrd
+initrd ${kernel_url}initrd
+boot
+
 :19-boot
 imgfree
 kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url} initrd=initrd