Browse Source

Update mint menus

Antony Messerli 8 tháng trước cách đây
mục cha
commit
b9caec33ce
2 tập tin đã thay đổi với 11 bổ sung20 xóa
  1. 0 9
      endpoints.yml
  2. 11 11
      roles/netbootxyz/templates/menu/live-mint.ipxe.j2

+ 0 - 9
endpoints.yml

@@ -1657,15 +1657,6 @@ endpoints:
     - supergrub2-classic-x86_64.efi
     os: supergrubdisk
     version: 2.06s4
-  mint-xfce-squash:
-    path: /ubuntu-squash/releases/download/22-eddd71a2/
-    files:
-    - initrd
-    - vmlinuz
-    - filesystem.squashfs
-    os: mint
-    version: '22'
-    flavor: xfce
   mint-22-xfce-squash:
     path: /ubuntu-squash/releases/download/22-42f238bf/
     files:

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

@@ -6,34 +6,34 @@ goto ${menu} ||
 set os Mint Live
 menu ${os}
 item --gap ${os} Versions
+item 22 ${space} ${os} 22
 item 21 ${space} ${os} 21
 item 20 ${space} ${os} 20
-item 19 ${space} ${os} 19
 item lmde ${space} ${os} LMDE
 choose live_version || goto live_exit
 menu ${os} ${live_version}
 item --gap ${os} Flavors
 goto ${live_version}
 
-:21
+:22
 {% for key, value in endpoints.items() | sort %}
-{% if value.os == "mint" and 'squash' in key and '21' in value.version %}
+{% if value.os == "mint" and 'squash' in key and '22' in value.version %}
 item {{ key }} ${space} {{ value.os | title }} {{ value.version }} {{ value.flavor | title}}
 {% endif %}
 {% endfor %}
 goto flavor_select
 
-:20
+:21
 {% for key, value in endpoints.items() | sort %}
-{% if value.os == "mint" and 'squash' in key and '20' in value.version %}
+{% if value.os == "mint" and 'squash' in key and '21' in value.version %}
 item {{ key }} ${space} {{ value.os | title }} {{ value.version }} {{ value.flavor | title}}
 {% endif %}
 {% endfor %}
 goto flavor_select
 
-:19
+:20
 {% for key, value in endpoints.items() | sort %}
-{% if value.os == "mint" and 'squash' in key and '19' in value.version %}
+{% if value.os == "mint" and 'squash' in key and '20' in value.version %}
 item {{ key }} ${space} {{ value.os | title }} {{ value.version }} {{ value.flavor | title}}
 {% endif %}
 {% endfor %}
@@ -70,21 +70,21 @@ goto {{ value.version | int }}-boot
 {% endif %}
 {% endfor %}
 
-:21-boot
+:22-boot
 imgfree
 kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=url url=${squash_url} {{ kernel_params }}
 initrd ${kernel_url}initrd
 boot
 
-:20-boot
+:21-boot
 imgfree
 kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=url url=${squash_url} {{ kernel_params }}
 initrd ${kernel_url}initrd
 boot
 
-:19-boot
+:20-boot
 imgfree
-kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url} {{ kernel_params }}
+kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=url url=${squash_url} {{ kernel_params }}
 initrd ${kernel_url}initrd
 boot