Skip to content

Instantly share code, notes, and snippets.

@schlomo schlomo/demo2.ipxe
Last active Aug 29, 2015

Embed
What would you like to do?
iPXE protected installation menu demo
#!ipxe
console -x 800 -y 600 --picture http://www.linux-magazin.de/extension/lnm/design/linux_magazin/images/lm_logo_online.png --top 350
:menu
menu Was moechten Sie jetzt machen?
item --key n local Normaler Systemstart
item --gap Fuer den Systemverwalter
item --key i install Installationsmenue aufrufen
item --key d diag PC-Diagnose starten
item --key r reboot Neu starten
item --key p poweroff Ausschalten
choose --default local --timeout 10000 target && goto ${target} || goto local
:local
sanboot --no-describe --drive 0x80 || prompt ERROR Press key to continue
goto menu
:diag
sanboot http://www.hdt-project.org/raw-attachment/wiki/hdt-0.5.0/hdt-0.5.2.img || prompt ERROR Press key to continue
goto menu
:install
login
chain http://${username:uristring}:${password:uristring}@schlomo.a78.org/login.php?//goo.gl/ICq3Ql || prompt ERROR Press key to continue
goto menu
:reboot
reboot
:poweroff
poweroff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.