Avoid sigpipe by looking at last IPAddress

The docker command to inspect returns 2 "IPAdress:" items.
Both are the same, just different sections of the docker
output command. To avoid getting a SIGPIPE from the grep
command, use the tail command line tool to just grab the
last IPAddress from the grep command.

Resolves openbmc/openbmc-build-scripts#16

Change-Id: I5560ba21f9ae60998f78db8e7478c655b65eca3e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
1 file changed