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

Re: [Testbed-admins] STuck



* Hussamuddin Nasir <nasir@netlab.uky.edu> [090217 12:17]:
> You you are right the print just gave me text value, but running it with  
> the -x option gives you the clean picture. Any easy fix in mind ??

This is really strange.  Could you try pasting this into a shell
script and running it?  I don't have an ubuntu 8 image to test it
here.  The output should look like the four octets of the IPOD host's
IP address separated by spaces.

#! /bin/sh

. /etc/emulab/paths.sh

IPODINFO=`$BINDIR/tmcc ipodinfo`
if [ x"$IPODINFO" != x ]; then
	echo $IPODINFO | sed -e 's/.*HOST=\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1 \2 \3 \4/'
fi