    # File lib/fog/rackspace/requests/compute/create_server.rb, line 36
            def create_server(flavor_id, image_id, options = {})
              data = {
                'server' => {
                  'flavorId'  => flavor_id,
                  'imageId'   => image_id
                }
              }
              if options['metadata']
                data['server']['metadata'] = options['metadata']
              end
              if options['name']
                data['server']['name'] = options['name']
              end
              if options['personality']
                data['server']['personality'] = []
                for file in options['personality']
                  data['server']['personality'] << {
                    'contents'  => Base64.encode64(file['contents']),
                    'path'      => file['path']
                  }
                end
              end
              request(
                :body     => Fog::JSON.encode(data),
                :expects  => [200, 202],
                :method   => 'POST',
                :path     => 'servers.json'
              )
            end