Added logic for nfs and samba to use private addressing within aws or openstack.