# File lib/specinfra/command/openbsd/base/host.rb, line 3
    def get_ipaddress(name)
      # getent hosts will return both the ipv6 and ipv4 record.
      # this will only pick the first one. (Linux behavior)
      "getent hosts #{escape(name)} | awk '{print $1; exit}'"
    end