--- config.pl 2009/07/26 15:16:52 6 +++ config.pl 2009/07/27 11:46:10 7 @@ -2,6 +2,9 @@ $server_ip = '10.0.0.100'; #$server_ip = '172.25.25.1'; +$server_ip = `/sbin/ifconfig`; +$server_ip =~ s/^.+?addr:([\d\.]+).*$/$1/gs; + $next_file = 'tinycore/tftp.gpxe'; $next_file = "http://$server_ip/pxelator/tinycore/http.gpxe";