Fix to return only 1 IP address

If virtual IP is setup then `hostname --ip-address` returns 2 IP addresses and the docker container errors out
Accomodate the change in one line
Merge pull request #6 from muktaa/master

Fix to return only 1 IP address