Local ip address should be fetched from ifconfig

Signed-off-by: Harshavardhana <fharshav@redhat.com>