/[pxelator]/config.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /config.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3 by dpavlin, Sun Jul 26 13:58:39 2009 UTC revision 17 by dpavlin, Tue Jul 28 10:29:33 2009 UTC
# Line 1  Line 1 
1    
2  $server_ip = '10.0.0.100';  if ( ! $server_ip ) {
3  #$server_ip = '172.25.25.1';          $server_ip = `/sbin/ifconfig`;
4            $server_ip =~ s/^.+?addr:([\d\.]+).*$/$1/gs;
5            warn "auto-configure server ip to $server_ip\n";
6    } else {
7            warn "server ip $server_ip\n";
8    }
9    
10    # $file = 'undionly.kpxe';
11    $file = 'pxelinux.0';
12    
13    $next_file = 'tinycore/tftp.gpxe';
14    #$next_file = "http://$server_ip/pxelator/tinycore/http.gpxe";
15    #$next_file = "tinycore/http.gpxe";
16    #$next_file = "menu.gpxe";
17    #$next_file = "debirf.gpxe";
18    #$next_file = "dos.gpxe";
19    
 warn "server on $server_ip\n";  

Legend:
Removed from v.3  
changed lines
  Added in v.17

  ViewVC Help
Powered by ViewVC 1.1.26