Removes old dhcp_boot file and add tftp to template
parent
cd281ef342
commit
12a64d05b4
|
@ -2,7 +2,7 @@
|
|||
echo Booting by ipxe
|
||||
echo MAC Address: ${net0/mac}
|
||||
set macaddress ${net0/mac}
|
||||
set prefix http://SERVERIP/ipxe_scripts
|
||||
set prefix tftp://SERVERIP/ipxe_scripts
|
||||
echo Prefix: ${prefix}
|
||||
set configfile ${prefix}/01-${net0/mac}
|
||||
echo Config File: ${configfile}
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
#!ipxe
|
||||
echo Booting by ipxe
|
||||
echo MAC Address: ${net0/mac}
|
||||
set macaddress ${net0/mac}
|
||||
set prefix tftp://172.17.8.71/ipxe_scripts
|
||||
echo Prefix: ${prefix}
|
||||
set configfile ${prefix}/01-${net0/mac}
|
||||
echo Config File: ${configfile}
|
||||
ifopen net0
|
||||
route
|
||||
|
||||
sleep 5
|
||||
chain ${configfile} ||
|
||||
chain $prefix/default.ipxe
|
Loading…
Reference in New Issue