/[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 21 by dpavlin, Tue Jul 28 10:29:33 2009 UTC revision 22 by dpavlin, Tue Jul 28 16:35:49 2009 UTC
# Line 1  Line 1 
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    

Legend:
Removed from v.21  
changed lines
  Added in v.22

  ViewVC Help
Powered by ViewVC 1.1.26