Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

Supervisor component for provisioning a device against resin servers.

License

Notifications You must be signed in to change notification settings

balena-os/resin-provisioner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

resin-provisioner

This is a resin supervisor component designed to allow provisioning of a resin OS device against resin servers.

Usage

The core functionality is provided by the provisioner package, and 2 utility commands are provided:

provisioner-server

Offers provisioner functionality as an HTTP API via the specified socket file.

$ provisioner-server [socket path] [config.json path]

provisioner-simple-client

This is a simple provisioning tool. To query the provisioned state use:

$ provisioner-simple-client [config path]

To execute a provisioning use:

$provisioner-simple-client [config path] [user id] [app id] [api key]

resin-provision

This is the key tool, execute to provision the device using a CLI interface.