Browse Source

adding kodachi menu entries

thelamer 5 years ago
parent
commit
e34f333d83

+ 0 - 0
roles/netbootxyz/templates/menu/live-deepin.ipxe → roles/netbootxyz/templates/menu/live-deepin.ipxe.j2


+ 37 - 0
roles/netbootxyz/templates/menu/live-kodachi.ipxe.j2

@@ -0,0 +1,37 @@
+#!ipxe
+
+goto ${menu} ||
+
+:live_menu
+set os Kodachi
+menu ${os} - Current Arch [ ${arch} ]
+iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
+item --gap ${os} Versions
+{% for key, value in endpoints.items() | sort %}
+{% if value.os == "kodachi" %}
+item {{ value.version }} ${space} ${os} {{ value.version }}
+{% endif %}
+{% endfor %}
+choose live_version || goto live_exit
+goto ${live_version}
+
+
+{% for key, value in endpoints.items() | sort %}
+{% if value.os == "kodachi" %}
+:{{ value.version }}
+set squash_url ${live_endpoint}{{ value.path }}filesystem.squashfs
+set kernel_url ${live_endpoint}{{ value.path }}
+goto boot
+
+{% endif %}
+{% endfor %}
+
+:boot
+imgfree
+kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url} initrd=initrd
+initrd ${kernel_url}initrd
+boot
+
+:live_exit
+clear menu
+exit 0

+ 0 - 0
roles/netbootxyz/templates/menu/live-lite.ipxe → roles/netbootxyz/templates/menu/live-lite.ipxe.j2


+ 0 - 0
roles/netbootxyz/templates/menu/live-neon.ipxe → roles/netbootxyz/templates/menu/live-neon.ipxe.j2


+ 0 - 0
roles/netbootxyz/templates/menu/live-regolith.ipxe → roles/netbootxyz/templates/menu/live-regolith.ipxe.j2


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

@@ -13,6 +13,7 @@ item live-elementary ${space} elementary OS
 item live-fedora ${space} Fedora
 item live-feren ${space} Feren OS
 item live-kali ${space} Kali
+item live-kodachi ${space} Kodachi
 item live-neon ${space} KDE Neon
 item live-lite ${space} Linux Lite
 item live-q4os ${space} Q4OS