[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Networking not coming up on dom)



On 2 Feb 2007 at 6:46, Jim wrote:

> vifnum=${vifnum:-$(ip route list | awk '/^default / { print $NF }' | sed 
> 's/^[^0-9]*//')}

Without knowing the details, it might seem that
sed -s 's/^.*\([0-9][0-9]*\).*$/\1/' is closer to the expected behavior.

> 
> vifnum will contain a zero and a one separated by a newline.  This 
> causes the script to fail sort of siliently.  I hardcoded vifnum to 1 
> and all is working fine.
> 
> I find this a bit surprising since I know there are people running 
> multiple ethernet ports successfully. 
> 
> So this is a bug?  If so, is it a ubuntu  or xen bug?
> 
> Thanks,
> Jim.
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.