Ver código fonte

Merge pull request #484 from netbootxyz/q4os-3.10

add 3.10 option to menu for q4os
Antony Messerli 5 anos atrás
pai
commit
b87efe5e87
1 arquivos alterados com 11 adições e 2 exclusões
  1. 11 2
      roles/netbootxyz/templates/menu/live-q4os.ipxe.j2

+ 11 - 2
roles/netbootxyz/templates/menu/live-q4os.ipxe.j2

@@ -7,12 +7,21 @@ set os Q4OS Live
 menu ${os} - Current Arch [ ${arch} ]
 iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
 item --gap ${os} Versions
+item 3.10 ${space} ${os} 3.10
 item 3.9 ${space} ${os} 3.9
 choose live_version || goto live_exit
 menu ${os} ${live_version}
 item --gap ${os} Flavors
 goto ${live_version}
 
+:3.10
+{% for key, value in endpoints.items() | sort %}
+{% if value.os == "Q4OS" and 'squash' in key and value.version == "3.10" %}
+item {{ key }} ${space} {{ value.os | title }} {{ value.version }} {{ value.flavor | title}}
+{% endif %}
+{% endfor %}
+goto flavor_select
+
 :3.9
 {% for key, value in endpoints.items() | sort %}
 {% if value.os == "Q4OS" and 'squash' in key and value.version == "3.9" %}
@@ -36,11 +45,11 @@ set squash_url ${live_endpoint}{{ value.path }}filesystem.squashfs
 set kernel_url ${live_endpoint}{{ value.path }}
 {% endif %}
 {% endfor %}
-goto {{ value.version }}-boot
+goto q4os-boot
 {% endif %}
 {% endfor %}
 
-:3.9-boot
+:q4os-boot
 imgfree
 kernel ${kernel_url}vmlinuz boot=live fetch=${squash_url} initrd=initrd
 initrd ${kernel_url}initrd