#2938 NORM Untriag: /etc/init.d/qemuVDE small bug

Zarro Boogs per Child bugtracker at laptop.org
Tue Aug 21 08:53:34 EDT 2007


#2938: /etc/init.d/qemuVDE small bug
---------------------+------------------------------------------------------
 Reporter:  aroscha  |       Owner:  J5       
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  Untriaged
Component:  distro   |     Version:           
 Keywords:           |    Verified:  0        
---------------------+------------------------------------------------------
 The current version of /etc/init.d/qemuVDE which is used to automatically
 set up networked qemu instances as described in
 http://olpc.at/mediawiki/index.php/Devserver was wrong.

 Here is the correct version:

 #!/bin/sh

 i=$( ifconfig eth0 | grep HWaddr  | awk '// { print $5; }' | cut -d : -f 6
 )

 echo "i=$i"

 ifconfig eth0 inet 10.0.1.$i
 route add default gw 10.0.0.1

 echo "qemu VDE network set up, well done!"

-- 
Ticket URL: <https://dev.laptop.org/ticket/2938>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list