/[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 7 by dpavlin, Mon Jul 27 11:46:10 2009 UTC revision 22 by dpavlin, Tue Jul 28 16:35:49 2009 UTC
# Line 1  Line 1 
1    
2  $server_ip = '10.0.0.100';  # $file = 'undionly.kpxe';
3  #$server_ip = '172.25.25.1';  #$file = 'pxelinux.0';
4    
5  $server_ip = `/sbin/ifconfig`;  $gpxe_file = 'tinycore/tftp.gpxe';
6  $server_ip =~ s/^.+?addr:([\d\.]+).*$/$1/gs;  #$gpxe_file = "http://$server_ip/pxelator/tinycore/http.gpxe";
7    #$gpxe_file = "tinycore/http.gpxe";
8    #$gpxe_file = "menu.gpxe";
9    #$gpxe_file = "debirf.gpxe";
10    #$gpxe_file = "dos.gpxe";
11    
 $next_file = 'tinycore/tftp.gpxe';  
 $next_file = "http://$server_ip/pxelator/tinycore/http.gpxe";  
   
 warn "server on $server_ip\n";  

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

  ViewVC Help
Powered by ViewVC 1.1.26