Skip to content

Instantly share code, notes, and snippets.

@logankimmel
Created October 6, 2015 18:21
Show Gist options
  • Save logankimmel/a1d51062beb7acbf961e to your computer and use it in GitHub Desktop.
Save logankimmel/a1d51062beb7acbf961e to your computer and use it in GitHub Desktop.
#!ipxe
echo +------- STATIC (embedded2) ----------------
ifopen net0
set net0/ip 172.18.4.142
set net0/netmask 255.255.0.0
set net0/gateway 172.18.0.1
set net0/dns 172.20.0.8
set net0/domain aidev.com
:chain_boot
chain http://172.18.4.100:8080/svc/boot?net0=${net0/mac:hexhyp}&dhcp_mac=${net0/mac:hexhyp}&serial=${serial}&asset=${asset}&uuid=${uuid} || goto error
echo successfully completed the chain-loaded script; booting locally with 'exit'
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment