1234567891011121314151617181920212223242526272829303132333435363738 |
- #!ipxe
- goto ${menu} ||
- :live_menu
- set os Linux Lite
- menu ${os}
- item --gap Use the username linuxlite with a blank password
- 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 {{ kernel_params }}
- initrd ${kernel_url}initrd
- boot
- :boot-5
- kernel ${kernel_url}vmlinuz ip=dhcp boot=casper netboot=url url=${squash_url} username=linuxlite userfullname=linuxlite {{ kernel_params }}
- initrd ${kernel_url}initrd
- boot
- :live_exit
- clear menu
- exit 0
|