Browse Source

adding new menus for assets

thelamer 5 years ago
parent
commit
d96c41e074

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

@@ -0,0 +1,27 @@
+#!ipxe
+
+goto ${menu} ||
+
+:live_menu
+set os Deepin
+menu ${os} - Current Arch [ ${arch} ]
+iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
+item --gap ${os} Versions
+item 15 ${space} ${os} 15
+choose live_version || goto live_exit
+goto ${live_version}
+
+:15
+set squash_url ${live_endpoint}{{ endpoints["deepin-15-squash"].path }}filesystem.squashfs
+set kernel_url ${live_endpoint}{{ endpoints["deepin-15-squash"].path }}
+goto live-boot
+
+:15-boot
+imgfree
+kernel ${kernel_url}vmlinuz boot=live fetch=${squash_url} union=overlay livecd-installer initrd=initrd
+initrd ${kernel_url}initrd
+boot
+
+:live_exit
+clear menu
+exit 0

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

@@ -0,0 +1,28 @@
+#!ipxe
+
+goto ${menu} ||
+
+:live_menu
+set os Linux Lite
+menu ${os} - Current Arch [ ${arch} ]
+item --gap Use the username linuxlite with a blank password
+iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
+item --gap ${os} Versions
+item 4 ${space} ${os} 4
+choose live_version || goto live_exit
+goto ${live_version}
+
+:4
+set squash_url ${live_endpoint}{{ endpoints["linux-lite-4-squash"].path }}filesystem.squashfs
+set kernel_url ${live_endpoint}{{ endpoints["linux-lite-4-squash"].path }}
+goto live-boot
+
+:4-boot
+imgfree
+kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url} username=linuxlite userfullname=linuxlite initrd=initrd
+initrd ${kernel_url}initrd
+boot
+
+:live_exit
+clear menu
+exit 0

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

@@ -8,9 +8,11 @@ iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
 item --gap Live Boot Distributions
 item live-backbox ${space} BackBox
 item live-debian ${space} Debian
+item live-deepin ${space} Deepin
 item live-elementary ${space} elementary OS
 item live-fedora ${space} Fedora
 item live-kali ${space} Kali
+item live-lite ${space} Linux Lite
 item live-neon ${space} KDE Neon
 item live-q4os ${space} Q4OS
 item live-manjaro ${space} Manjaro