code: function(options, callback) {
  
          if (typeof(options) === 'function') {
              callback = options;
              options = {};
          }
  
          var serverOptions = {};
  
          serverOptions.name = options.name || this.name;
          serverOptions.imageRef = options.imageRef || this.image.id;
          serverOptions.flavorRef = options.flavorRef || this.flavor.id;
          serverOptions.metadata = options.metadata || this.metadata;
          serverOptions.personality = options.personality || this.personality;
  
          // Don't specify the admin pass unless it's explicit
          if (options.adminPass) {
              serverOptions.adminPass = options.adminPass;
          }
  
          this.doServerAction(
              {
                  action: {
                      'rebuild': serverOptions
                  }
              }, callback);
      }
docs: @name Server.rebuild
  @description Rebuilds this instance with the specified image. This
  will delete all data on the server instance. The 'image' can
  be an instance of a rackspace-openstack Image or an image id.
  @param {Object|Function}     options     Optionally provide a new set of
  server options to be used while rebuilding.
  
  @param {Function}            callback    handles the callback of your api call