Created
October 6, 2015 18:21
-
-
Save logankimmel/a1d51062beb7acbf961e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!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