Skip to content

Instantly share code, notes, and snippets.

@sts
Last active December 26, 2015 16:59
Show Gist options
  • Save sts/7183987 to your computer and use it in GitHub Desktop.
Save sts/7183987 to your computer and use it in GitHub Desktop.
ipxe-scripts
#!ipxe
chain http://boot.ono.at/ipxe?uuid=\${uuid}&mac=\${mac}&busid=\${busid}&ip=\${ip}&hostname=\${hostname:uristring}&serial=\${serial:uristring}&asset=\${asset:uristring}&manufacturer=\${manufacturer:uristring}&product=\${product:uristring}
#!ipxe
menu Netboot
item --gap -- ------------------------- operating systems ------------------------------
item netinstall_centos64 Netinstall CentOS (6.4)
item netinstall_grml64 Netinstall Debian (Grml64 2013.02)
item --gap -- ------------------------- tools ------------------------------
item localboot Boot Local Installation
# Prompt the user or boot locally
choose target && goto ${target}
:netinstall_centos64
set base-url http://boot.ono.at/images/centos
kernel ${base-url}/centos64.vmlinuz ip=dhcp ksdevice=eth0 ks=http://boot.ono.at/ks.cfg kssendmac
initrd ${base-url}/centos64.initrd
boot
:netinstall_grml64
set base-url http://boot.ono.at/images/grml
kernel ${base-url}/grml64full201302.vmlinuz boot=live live-media-path=/live/grml64-full bootid=grml64full201302 apm=power-off nomce noprompt noeject vga=791 fetch=${base-url}/grml64full201302.squashfs
initrd ${base-url}/grml64full201302.initrd
boot
:localboot
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment