def etc_hosts_entry(host, interface = :ip)
      name = host.name
      domain = get_domain_name(host)
      ip = host[interface.to_s]
      "#{ip}\t#{name} #{name}.#{domain} #{host['dns_name']}\n"
    end
def etc_hosts_entry(host, interface = :ip)
      name = host.name
      domain = get_domain_name(host)
      ip = host[interface.to_s]
      "#{ip}\t#{name} #{name}.#{domain} #{host['dns_name']}\n"
    end
Return a valid /etc/hosts line for a given host

 @param [Beaker::Host] host Beaker::Host object for generating /etc/hosts entry
 @param [Symbol] interface Symbol identifies which ip should be used for host
 @return [String] formatted hosts entry for host
 @api private