/[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 139 by dpavlin, Sun Aug 2 02:20:24 2009 UTC revision 140 by dpavlin, Tue Aug 4 17:16:11 2009 UTC
# Line 32  sub window { Line 32  sub window {
32          system "xdotool windowactivate `xdotool search --class kvm`"          system "xdotool windowactivate `xdotool search --class kvm`"
33  }  }
34    
 use network;  
   
35  sub start {  sub start {
36    
         warn 'tap ', network::tap();  
   
37          my $kvm = qq|          my $kvm = qq|
38                  vdeq kvm -m $memory_size -net nic,vlan=1,macaddr=$mac                  vdeq kvm -m $memory_size -net nic,vlan=1,macaddr=$mac
39                  -net vde,vlan=1,sock=/var/run/vde2/tap0.ctl                  -net vde,vlan=1,sock=/var/run/vde2/tap0.ctl

Legend:
Removed from v.139  
changed lines
  Added in v.140

  ViewVC Help
Powered by ViewVC 1.1.26