On Wed, Dec 07, 2005 at 04:36:11PM -0600, Adam Heath wrote:
> > > 2) vif-route.sh is buggy; it doesn't handle the case where
> > > multiple adapters
> > > exist. So, dom0_ip(and the functions it calls) ends up
> > > returning 2 ip
> > > addresses, which makes ifconfig complain.
> > >
> > > I've got a fix hot-patched on our deployed server, I'll be
> > > sending that
> > > soon.
> >
> > Please post it, thanks.
>
> In vif-common.sh, ip_of should be this:
> ==
> function ip_of()
> {
> ip addr show "$1" | awk "/^.*inet.*$1\$/{print \$2}" | sed 's,/.*,,'
> }
> ==
Applied, thanks.
Ewan.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|