43 líneas
1.2 KiB
Django/Jinja
43 líneas
1.2 KiB
Django/Jinja
#!ipxe
|
|
# courtesy of MerlinDMC, slightly modified by tgerczei
|
|
# {{ ansible_managed }}
|
|
|
|
set smartos-build {{ last_release }}
|
|
|
|
:start
|
|
menu Welcome to iPXE's Boot Menu
|
|
item
|
|
item --gap -- ------------------------- Operating systems ------------------------------
|
|
item smartos Boot SmartOS (${smartos-build})
|
|
item smartos_noimport Boot SmartOS (${smartos-build}) noimport
|
|
item --gap -- ------------------------------ Utilities ---------------------------------
|
|
item shell Enter iPXE shell
|
|
item reboot Reboot
|
|
item
|
|
item exit Exit (boot local disk)
|
|
choose --default smartos --timeout 5000 target && goto ${target}
|
|
|
|
:shell
|
|
echo Type exit to get the back to the menu
|
|
shell
|
|
set menu-timeout 0
|
|
goto start
|
|
|
|
:reboot
|
|
reboot
|
|
|
|
:exit
|
|
exit
|
|
|
|
:smartos
|
|
kernel /smartos/${smartos-build}/platform/i86pc/kernel/amd64/unix -B console=text,smartos=true
|
|
initrd /smartos/${smartos-build}/platform/i86pc/amd64/boot_archive
|
|
boot
|
|
goto start
|
|
|
|
:smartos_noimport
|
|
kernel /smartos/${smartos-build}/platform/i86pc/kernel/amd64/unix -B console=text,smartos=true,noimport=true
|
|
initrd /smartos/${smartos-build}/platform/i86pc/amd64/boot_archive
|
|
boot
|
|
goto start
|