From 356cd01d8ee8afd1599a7bdf613c6e8c6000bb61 Mon Sep 17 00:00:00 2001 From: Mike McGrath Date: Tue, 19 Jan 2010 10:38:11 -0600 Subject: [PATCH] Added gpxe config files --- bfo/dhcp.gpxe | 17 +++++++++++++++++ bfo/static.gpxe | 11 +++++++++++ 2 files changed, 28 insertions(+) create mode 100644 bfo/dhcp.gpxe create mode 100644 bfo/static.gpxe diff --git a/bfo/dhcp.gpxe b/bfo/dhcp.gpxe new file mode 100644 index 0000000..9ba2502 --- /dev/null +++ b/bfo/dhcp.gpxe @@ -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 diff --git a/bfo/static.gpxe b/bfo/static.gpxe new file mode 100644 index 0000000..84d147c --- /dev/null +++ b/bfo/static.gpxe @@ -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