Ver Fonte

adding LMDE mint edition to the live menu

thelamer há 5 anos atrás
pai
commit
0d13e742f5
1 ficheiros alterados com 15 adições e 0 exclusões
  1. 15 0
      roles/netbootxyz/templates/menu/live-mint.ipxe.j2

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

@@ -8,6 +8,7 @@ menu ${os} - Current Arch [ ${arch} ]
 iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
 item --gap ${os} Versions
 item 19 ${space} ${os} 19
+item lmde ${space} ${os} LMDE
 choose live_version || goto live_exit
 menu ${os} ${live_version}
 item --gap ${os} Flavors
@@ -21,6 +22,14 @@ item {{ key }} ${space} {{ value.os | title }} {{ value.version }} {{ value.flav
 {% endfor %}
 goto flavor_select
 
+:lmde
+{% for key, value in endpoints.items() | sort %}
+{% if value.os == "mint" and value.version == "lmde" %}
+item {{ key }} ${space} {{ value.os | title }} {{ value.version }} {{ value.flavor | title}}
+{% endif %}
+{% endfor %}
+goto flavor_select
+
 :flavor_select
 choose flavor || goto live_menu
 echo ${cls}
@@ -46,6 +55,12 @@ kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url}
 initrd ${kernel_url}initrd
 boot
 
+:lmde-boot
+imgfree
+kernel ${kernel_url}vmlinuz boot=live fetch=${squash_url} initrd=initrd
+initrd ${kernel_url}initrd
+boot
+
 :live_exit
 clear menu
 exit 0