/[pxelator]/lib/PXElator/network.pm
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 /lib/PXElator/network.pm

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

revision 174 by dpavlin, Tue Aug 4 18:27:21 2009 UTC revision 175 by dpavlin, Fri Aug 7 12:26:49 2009 UTC
# Line 14  sub ifconfig { Line 14  sub ifconfig {
14    
15  sub tap {  sub tap {
16    
17            if ( $server::ip !~ m{^172} ) {
18                    warn "W: not configuring tap0 interface!";
19                    return;
20            }
21    
22          my $interfaces = read_file '/etc/network/interfaces';          my $interfaces = read_file '/etc/network/interfaces';
23    
24          if ( $interfaces !~ m{tap0}s ) {          if ( $interfaces !~ m{tap0}s ) {

Legend:
Removed from v.174  
changed lines
  Added in v.175

  ViewVC Help
Powered by ViewVC 1.1.26