    # File lib/fog/rackspace/requests/compute_v2/create_server.rb, line 5
            def create_server(name, image_id, flavor_id, min_count, max_count, options = {})
              data = {
                'server' => {
                  'name' => name,
                  'imageRef' => image_id,
                  'flavorRef' => flavor_id,
                  'minCount' => min_count,
                  'maxCount' => max_count
                }
              }

              data['server']['metadata'] = options[:metadata]  unless options[:metadata].nil?
              data['server']['OS-DCF:diskConfig'] = options[:disk_config] unless options[:disk_config].nil?
              data['server']['metadata'] = options[:metadata] unless options[:metadata].nil?
              data['server']['personality'] = options[:personality] unless options[:personality].nil?

              request(
                :body => Fog::JSON.encode(data),
                :expects => [202],
                :method => 'POST',
                :path => "servers"
              )
            end