autogenerating /etc/hosts