# File lib/rubyipmi/ipmitool/connection.rb, line 18
      def initialize(user, pass, host, opts)
        @debug = opts[:debug]
        @options = Rubyipmi::ObservableHash.new
        raise("Must provide a host to connect to") unless host
        @options["H"] = host
        # Credentials can also be stored in the freeipmi configuration file
        # So they are not required
        @options["U"] = user if user
        @options["P"] = pass if pass
        if opts.has_key?(:privilege)
          @options["L"] = opts[:privilege]
        end
        # Note: rubyipmi should auto detect which driver to use so its unnecessary to specify the driver unless
        #  the user really wants to.
        @options['I'] = drivers_map[opts[:driver]] unless drivers_map[opts[:driver]].nil?
      end