| Last change
                  on this file since 449 was
                  87,
                  checked in by hartmans, 18 years ago | 
        
          | Add qemu-dm-sipb written by andersk to get us the  domain ID in qemu-ifup
Add vif-sipbroute, a version of vif-route that does better netwwork
isolation and has initial but useless ipv6 support.  This version also
uses arpspoof to take over an address for domain migrations.
Add init script to enable rp_filter, proxy_arp and forwarding for the network config.
 | 
        
          | 
              
                  Property svn:executable set to
                  * | 
        | File size:
            304 bytes | 
      
      
        
  | Line |  | 
|---|
| 1 | #!/bin/sh | 
|---|
| 2 | domid= | 
|---|
| 3 | for i; do | 
|---|
| 4 | if [ "$domid" = "_NEXT_" ]; then | 
|---|
| 5 | domid=$i | 
|---|
| 6 | break | 
|---|
| 7 | elif [ "$i" = "-d" ]; then | 
|---|
| 8 | domid=_NEXT_ | 
|---|
| 9 | fi | 
|---|
| 10 | done | 
|---|
| 11 | export domid | 
|---|
| 12 | echo 'BEGIN qemu-dm-sipb LOG' >> /tmp/log | 
|---|
| 13 | echo "$0 $@" >> /tmp/log | 
|---|
| 14 | env >> /tmp/log | 
|---|
| 15 | echo 'END qemu-dm-sipb LOG' >> /tmp/log | 
|---|
| 16 | exec "$ROOT/bin/qemu-dm" "$@" | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.