123456789101112131415161718192021222324252627282930313233343536373839 |
- #!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 5 ${space} ${os} 5
- 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 boot-4
- :5
- set squash_url ${live_endpoint}{{ endpoints["linux-lite-5-squash"].path }}filesystem.squashfs
- set kernel_url ${live_endpoint}{{ endpoints["linux-lite-5-squash"].path }}
- goto boot-5
- :boot-4
- imgfree
- kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=http fetch=${squash_url} username=linuxlite userfullname=linuxlite initrd=initrd ${cmdline}
- initrd ${kernel_url}initrd
- boot
- :boot-5
- kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=url url=${squash_url} username=linuxlite userfullname=linuxlite initrd=initrd ${cmdline}
- initrd ${kernel_url}initrd
- boot
- :live_exit
- clear menu
- exit 0
|