Pārlūkot izejas kodu

adding lxle, minor corrections to readme/menu

thelamer 5 gadi atpakaļ
vecāks
revīzija
a488be34fa

+ 2 - 1
README.md

@@ -122,7 +122,7 @@ In addition to being able to host netboot.xyz locally, you can also create your
 |KDE Neon|https://neon.kde.org | No | Yes |
 |Kodachi|https://www.digi77.com/linux-kodachi/ | No | Yes |
 |Linux Lite| https://www.linuxliteos.com | No | Yes |
-|Q4OS|https://q4os.org | No | Yes |
+|LXLE| https://lxle.net/ | No | Yes |
 |Mageia|https://www.mageia.org| Yes | No |
 |Manjaro|https://manjaro.org| No | Yes |
 |Mint|https://linuxmint.com| No | Yes |
@@ -136,6 +136,7 @@ In addition to being able to host netboot.xyz locally, you can also create your
 |Parrot Security|https://www.parrotsec.org| Yes | Yes |
 |Peppermint|https://peppermintos.com | No | Yes |
 |Pop OS|https://system76.com/pop| No | Yes |
+|Q4OS|https://q4os.org | No | Yes |
 |RancherOS|https://rancher.com/rancher-os| Yes | No |
 |Red Hat Enterprise Linux|https://www.redhat.com| User supplied media | No |
 |Regolith|https://regolith-linux.org| No | Yes |

+ 2 - 0
roles/netbootxyz/templates/menu/gentoo.ipxe.j2

@@ -7,6 +7,8 @@
 set os {{ releases.gentoo.name }}
 menu ${os} - Current Arch [ ${arch} ]
 iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
+item --gap Currently during boot you need to press ctrl+d/ctrl+c
+item --gap repeatedly when init hangs on starting a download
 item --gap ${os} Versions
 {% for key, value in endpoints.items() | sort %}
 {% if value.os == "gentoo" %}

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

@@ -0,0 +1,37 @@
+#!ipxe
+
+goto ${menu} ||
+
+:live_menu
+set os LXLE
+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 == "lxle" %}
+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 == "lxle" %}
+:{{ 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

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

@@ -19,13 +19,14 @@ 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
+item live-lxle ${space} LXLE
 item live-manjaro ${space} Manjaro
 item live-mint ${space} Mint
 item live-nitrux ${space} Nitrux
 item live-parrot ${space} Parrot OS
 item live-peppermint ${space} Peppermint
 item live-popos ${space} Pop OS
+item live-q4os ${space} Q4OS
 item live-regolith ${space} Regolith
 item live-sparky ${space} SparkyLinux
 item live-tails ${space} Tails