code: def rescue(env, identifier):
      
  
      vsi = SoftLayer.VSManager(env.client)
      vs_id = helpers.resolve_id(vsi.resolve_ids, identifier, 'VS')
      if not (env.skip_confirmations or
              formatting.confirm("This action will reboot this VSI. Continue?")):
          raise exceptions.CLIAbort('Aborted')
  
      vsi.rescue(vs_id)
docs: Reboot into a rescue image.