class Kitchen::Provisioner::ChefZeroCapture

def create_sandbox

def create_sandbox
  # We have to invoke the the true Base create_sandbox because it does setup that
  # we want. However, we do not want to invoke the create_sandbox inherited from
  # ChefZero/ChefBase - those will create and populate a ChefCommonSandbox instead
  # of a ChefZeroCaptureSandbox.
  m = Base.instance_method(:create_sandbox).bind(self)
  m.call
  # These behaviors from super we _do_ want, so we need to copy them here.
  prepare_validation_pem
  prepare_config_rb
  ChefZeroCaptureSandbox.new(config, sandbox_path, instance).populate
end