|
@@ -7,44 +7,31 @@ set os Voyager Live
|
|
|
menu ${os} - Current Arch [ ${arch} ]
|
|
|
iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
|
|
|
item --gap ${os} Versions
|
|
|
-item focal ${space} ${os} Focal
|
|
|
-item bionic ${space} ${os} Bionic
|
|
|
-item buster ${space} ${os} Buster
|
|
|
-item eoan ${space} ${os} Eoan
|
|
|
+{% for key, value in endpoints.items() | sort %}
|
|
|
+{% if value.os == "Voyager" %}
|
|
|
+item {{ value.version }} ${space} ${os} {{ value.version }}
|
|
|
+{% endif %}
|
|
|
+{% endfor %}
|
|
|
choose live_version || goto live_exit
|
|
|
goto ${live_version}
|
|
|
|
|
|
-:focal
|
|
|
-set squash_url ${live_endpoint}{{ endpoints["voyager-focal-squash"].path }}filesystem.squashfs
|
|
|
-set kernel_url ${live_endpoint}{{ endpoints["voyager-focal-squash"].path }}
|
|
|
+{% for key, value in endpoints.items() | sort %}
|
|
|
+{% if value.os == "Voyager" %}
|
|
|
+:{{ value.version }}
|
|
|
+set squash_url ${live_endpoint}{{ value.path }}filesystem.squashfs
|
|
|
+set kernel_url ${live_endpoint}{{ value.path }}
|
|
|
imgfree
|
|
|
+{% if 'ubuntu-squash' in value.path %}
|
|
|
kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=url url=${squash_url} {{ kernel_params }}
|
|
|
-initrd ${kernel_url}initrd
|
|
|
-boot
|
|
|
-
|
|
|
-:bionic
|
|
|
-set squash_url ${live_endpoint}{{ endpoints["voyager-bionic-squash"].path }}filesystem.squashfs
|
|
|
-set kernel_url ${live_endpoint}{{ endpoints["voyager-bionic-squash"].path }}
|
|
|
-imgfree
|
|
|
-kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url} {{ kernel_params }}
|
|
|
-initrd ${kernel_url}initrd
|
|
|
-boot
|
|
|
-
|
|
|
-:buster
|
|
|
-set squash_url ${live_endpoint}{{ endpoints["voyager-buster-squash"].path }}filesystem.squashfs
|
|
|
-set kernel_url ${live_endpoint}{{ endpoints["voyager-buster-squash"].path }}
|
|
|
-imgfree
|
|
|
+{% endif %}
|
|
|
+{% if 'debian-squash' in value.path %}
|
|
|
kernel ${kernel_url}vmlinuz boot=live fetch=${squash_url} {{ kernel_params }}
|
|
|
+{% endif %}
|
|
|
initrd ${kernel_url}initrd
|
|
|
boot
|
|
|
|
|
|
-:eoan
|
|
|
-set squash_url ${live_endpoint}{{ endpoints["voyager-eoan-squash"].path }}filesystem.squashfs
|
|
|
-set kernel_url ${live_endpoint}{{ endpoints["voyager-eoan-squash"].path }}
|
|
|
-imgfree
|
|
|
-kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=url url=${squash_url} {{ kernel_params }}
|
|
|
-initrd ${kernel_url}initrd
|
|
|
-boot
|
|
|
+{% endif %}
|
|
|
+{% endfor %}
|
|
|
|
|
|
:live_exit
|
|
|
clear menu
|