/[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

Annotation of /config.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17 - (hide annotations)
Tue Jul 28 10:29:33 2009 UTC (13 years, 6 months ago) by dpavlin
File MIME type: text/plain
File size: 462 byte(s)
read data from filesystem files and symlinks in conf/

1 dpavlin 3
2 dpavlin 17 if ( ! $server_ip ) {
3     $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 dpavlin 3
10 dpavlin 17 # $file = 'undionly.kpxe';
11     $file = 'pxelinux.0';
12 dpavlin 7
13 dpavlin 4 $next_file = 'tinycore/tftp.gpxe';
14 dpavlin 17 #$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 dpavlin 4

  ViewVC Help
Powered by ViewVC 1.1.26