def get_osinfo(bhg_version)
      case bhg_version
      when 0
        {}.deep_merge!(osinfo)
      when 1
        {}.deep_merge!(osinfo).deep_merge!(osinfo_bhgv1)
      else
        raise "Invalid beaker-hostgenerator version: #{bhg_version}"
      end
    end
def get_osinfo(bhg_version)
      case bhg_version
      when 0
        {}.deep_merge!(osinfo)
      when 1
        {}.deep_merge!(osinfo).deep_merge!(osinfo_bhgv1)
      else
        raise "Invalid beaker-hostgenerator version: #{bhg_version}"
      end
    end
Returns the map of OS info for the given version of this library.
 The current version is always available as version 0 (zero).
 Throws an exception if the version number is unrecognized.

 This is intended to be the primary access point for the OS info maps
 defined in `osinfo`, `osinfo_bhgv1`, etc.

 See also `get_platforms`, `get_platform_info`, for common operations on
 this OS info map.