Skip to content

Instantly share code, notes, and snippets.

@Termiux
Created October 23, 2011 22:54
Show Gist options
  • Save Termiux/1308029 to your computer and use it in GitHub Desktop.
Save Termiux/1308029 to your computer and use it in GitHub Desktop.
gPXE boot loader script to point to a selected boot server. Used to point to my FOG server
#!gpxe
dhcp net0
set filename pxelinux.0
set next-server fog.server.ip.address
set 210:string http://fog.server.ip.address/fogimg/
imgfetch pxelinux.0
imgload pxelinux.0
boot pxelinux.0
@Termiux
Copy link
Author

Termiux commented Sep 4, 2013

This is a script related to the gPXE project http://www.etherboot.org/
When added this script to the gpxe it will do a pxe boot and connect tot he server indicated in this script disregarding the parameters send from the dhcp server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment