Allow option of how non-loopback addresses are set
Only write template if mappings exist (prevent empty hosts file generation)