Browse Source

Update for Zorin 16

Antony Messerli 3 years ago
parent
commit
48645dee65
1 changed files with 14 additions and 2 deletions
  1. 14 2
      roles/netbootxyz/templates/menu/live-zorin.ipxe.j2

+ 14 - 2
roles/netbootxyz/templates/menu/live-zorin.ipxe.j2

@@ -7,19 +7,25 @@ set os Zorin Live
 menu ${os} - Current Arch [ ${arch} ]
 iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
 item --gap ${os} Versions
+item 16 ${space} ${os} 16
 item 15 ${space} ${os} 15
 choose live_version || goto live_exit
 menu ${os} ${live_version}
 item --gap ${os} Flavors
 goto ${live_version}
 
-:15
 {% for key, value in endpoints.items() | sort %}
+{% if value.os == "zorin" and 'squash' in key and value.version == "16" %}
+:{{ value.version }}
+item {{ key }} ${space} {{ value.os | title }} {{ value.version }} {{ value.flavor | title}}
+goto flavor_select
+{% endif %}
 {% if value.os == "zorin" and 'squash' in key and value.version == "15" %}
+:{{ value.version }}
 item {{ key }} ${space} {{ value.os | title }} {{ value.version }} {{ value.flavor | title}}
+goto flavor_select
 {% endif %}
 {% endfor %}
-goto flavor_select
 
 :flavor_select
 choose flavor || goto live_menu
@@ -46,6 +52,12 @@ kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url}
 initrd ${kernel_url}initrd
 boot
 
+:16-boot
+imgfree
+kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=url url=${squash_url} {{ kernel_params }}
+initrd ${kernel_url}initrd
+boot
+
 :live_exit
 clear menu
 exit 0