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