Skip to content

mwohlert/balena-factoryreset-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Balena FactoryReset Example

Example to test the FactoryReset functionality of the balena-supervisor in conjunction with deleting all wireless connections

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  • device connected to the balena cloud
  • wireless connection
  • Update staged and not applied due to lockfile

Installing

If you are running the development balenaOS push the application to the device locally:

balena push x.x.x.x --logs --source .

If you are using the balena cloud, follow the release instructions.

Usage

In order to trigger a factory reset do a post request to the factoryReset route:

curl -X POST http://deviceIPAdress:8080/factoryReset

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages