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

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

revision 56 by dpavlin, Thu Jul 30 14:16:13 2009 UTC revision 67 by dpavlin, Thu Jul 30 21:31:30 2009 UTC
# Line 8  use File::Slurp; Line 8  use File::Slurp;
8    
9  use server;  use server;
10    
11    our $debug = server::debug;
12    
13  my $interfaces = read_file '/etc/network/interfaces';  my $interfaces = read_file '/etc/network/interfaces';
14    
15  if ( $interfaces !~ m{tap0.*$server::ip}s ) {  if ( $interfaces !~ m{tap0.*$server::ip}s ) {
# Line 34  if ( grep /tap0/, read_file '/proc/net/d Line 36  if ( grep /tap0/, read_file '/proc/net/d
36  }  }
37    
38  our $memory_size = 512;  our $memory_size = 512;
39  our $mac = '52:54:00:00:00:01';  our $mac = 'AC:DE:48:00:00:01'; # AC = private, AD = multicast, AE = local
40    
41  sub start {  sub start {
42    

Legend:
Removed from v.56  
changed lines
  Added in v.67

  ViewVC Help
Powered by ViewVC 1.1.26