got the generation of /etc/hosts/ working