Added gpxe config files
This commit is contained in:
parent
92a4cb92e5
commit
356cd01d8e
2 changed files with 28 additions and 0 deletions
17
bfo/dhcp.gpxe
Normal file
17
bfo/dhcp.gpxe
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#!gpxe
|
||||||
|
echo Attempting to start boot.fedoraproject.org
|
||||||
|
echo Setting up networking...
|
||||||
|
echo
|
||||||
|
imgload static.gpxe
|
||||||
|
imgstat
|
||||||
|
echo Opening first network interface ...
|
||||||
|
ifopen net0
|
||||||
|
echo If you don't have DHCP, then hit Control+C to cancel
|
||||||
|
dhcp net0
|
||||||
|
set 209:string pxelinux.cfg/default
|
||||||
|
set 210:string http://alt.fedoraproject.org/pub/alt/bfo/
|
||||||
|
echo Here we go!
|
||||||
|
chain http://alt.fedoraproject.org/pub/alt/bfo/pxelinux.0
|
||||||
|
dhcp net0
|
||||||
|
kernel http://alt.fedoraproject.org/pub/alt/bfo/fedora.gpxe
|
||||||
|
boot fedora.gpxe
|
11
bfo/static.gpxe
Normal file
11
bfo/static.gpxe
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
#!gpxe
|
||||||
|
echo Please provide, IP address, Netmask, Gateway and Router
|
||||||
|
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
|
||||||
|
config net0
|
||||||
|
set 209:string pxelinux.cfg/default
|
||||||
|
set 210:string http://alt.fedoraproject.org/pub/alt/bfo/
|
||||||
|
chain ${210:string}pxelinux.0
|
Loading…
Add table
Add a link
Reference in a new issue