mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-25 19:08:35 +00:00
076154a1c6
This patch extends the embedded image feature to allow multiple embedded images instead of just one. gPXE now always boots the first embedded image on startup instead of doing the hardcoded DHCP boot (aka autoboot). Based heavily upon a patch by Stefan Hajnoczi <stefanha@gmail.com>.
9 lines
181 B
Plaintext
9 lines
181 B
Plaintext
#!gpxe
|
|
ifopen net0
|
|
set net0/ip 10.0.2.15
|
|
set net0/netmask 255.255.255.0
|
|
set net0/gateway 10.0.2.2
|
|
set net0/dns 10.0.2.3
|
|
kernel http://etherboot.org/gtest/gtest.gpxe
|
|
boot gtest.gpxe
|