Fix /etc/hosts entry generated by coe::base

Populate /etc/hosts with the standard IP, FQDN, bare hostname tuple.

Partial-Bug: #1277712