Populates /etc/hosts with data from attributes