provision_service_scs - bruno-beloff/scs_mfr GitHub Wiki
docs > software repositories > scs_mfr > commands > configuration
DESCRIPTION
The provision_service_scs utility is used to upgrade a device, together with its AWS Greengrass presence. This utility should be run as the scs user, the provision_new_root utility should be run simultaneously as the root user.
The project location ID may be an integer or an alphanumeric string. Alternatively, the location may be the underscore character "_", indicating that the project location ID should be set as the device serial number.
The provision_service_scs utility should only be used for servicing / update tasks. New devices should be configured using the provision_service_scs utility.
SYNOPSIS
provision_service_scs.py [-p ORG GROUP LOCATION [-f]] [-u] [-s] [{ -a AFE | -d DSI DATE }] [-c] [-b] [-m MODEL_MAP] [-t TIMEZONE] [-x] [-v]
| Options | |
|---|---|
| --version | show program's version number and exit |
| -h, --help | show this help message and exit |
| -p PROJECT, --project=PROJECT | AWS project (LOCATION may be '_') |
| -f, --force | do not check for pre-existing topics |
| -u, --upgrade-pips | upgrade pip and requests |
| -s, --upgrade-scs | upgrade SCS git repos |
| -a AFE_SERIAL, --afe-serial=AFE_SERIAL | AFE serial number |
| -d DSI, --dsi=DSI | DSI serial number and YYYY-MM-DD |
| -c, --co2-scd30 | SCD30 is now present |
| -b, --barometric | ICP is now present |
| -m MODEL_MAP, --model-map=MODEL_MAP | model map { oE.1 | oM.2 | uE.1 } (default uE.1 / oE.1) |
| -t TIMEZONE, --timezone=TIMEZONE | timezone name |
| -x, --exclude-tests | do not perform OS checks or hardware tests |
| -v, --verbose | report narrative to stderr |
EXAMPLES
./provision_service_scs.py -v -a 26-000345 -b