--- config.pl 2009/07/28 16:26:09 21 +++ config.pl 2009/07/28 16:35:49 22 @@ -1,19 +1,11 @@ -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"; -} - # $file = 'undionly.kpxe'; -$file = 'pxelinux.0'; +#$file = 'pxelinux.0'; -$next_file = 'tinycore/tftp.gpxe'; -#$next_file = "http://$server_ip/pxelator/tinycore/http.gpxe"; -#$next_file = "tinycore/http.gpxe"; -#$next_file = "menu.gpxe"; -#$next_file = "debirf.gpxe"; -#$next_file = "dos.gpxe"; +$gpxe_file = 'tinycore/tftp.gpxe'; +#$gpxe_file = "http://$server_ip/pxelator/tinycore/http.gpxe"; +#$gpxe_file = "tinycore/http.gpxe"; +#$gpxe_file = "menu.gpxe"; +#$gpxe_file = "debirf.gpxe"; +#$gpxe_file = "dos.gpxe";