adding localhost hostname resolution and private ip address setup on slaves