1 |
|
|
|
if ( ! $server_ip ) { |
|
|
$server_ip = `/sbin/ifconfig`; |
|
|
$server_ip =~ s/^.+?addr:([\d\.]+).*$/$1/gs; |
|
|
warn "auto-configure server ip to $server_ip\n"; |
|
|
} else { |
|
|
warn "server ip $server_ip\n"; |
|
|
} |
|
|
|
|
2 |
# $file = 'undionly.kpxe'; |
# $file = 'undionly.kpxe'; |
3 |
$file = 'pxelinux.0'; |
#$file = 'pxelinux.0'; |
4 |
|
|
5 |
$next_file = 'tinycore/tftp.gpxe'; |
$gpxe_file = 'tinycore/tftp.gpxe'; |
6 |
#$next_file = "http://$server_ip/pxelator/tinycore/http.gpxe"; |
#$gpxe_file = "http://$server_ip/pxelator/tinycore/http.gpxe"; |
7 |
#$next_file = "tinycore/http.gpxe"; |
#$gpxe_file = "tinycore/http.gpxe"; |
8 |
#$next_file = "menu.gpxe"; |
#$gpxe_file = "menu.gpxe"; |
9 |
#$next_file = "debirf.gpxe"; |
#$gpxe_file = "debirf.gpxe"; |
10 |
#$next_file = "dos.gpxe"; |
#$gpxe_file = "dos.gpxe"; |
11 |
|
|