fioctl config updates

Configure aktualizr-lite settings for how updates are applied to a device group

Synopsis

View or change configuration parameters used by aktualizr-lite for updating devices in a device group. When run without options, prints out the current configuration.

fioctl config updates [flags]

Examples

# Make devices start taking updates from Targets tagged with "devel":
fioctl config updates --group beta --tag devel

# Set the Compose apps that devices will run:
fioctl config updates --group beta --apps shellhttpd

# Set the Compose apps and the tag for devices:
fioctl config updates --group beta --apps shellhttpd --tag master

# There are two special characters: "," and "-".
# Providing a "," sets the Compose apps to "none" for devices.
# This will make the device run no apps:
fioctl config updates --apps ,

# Providing a "-" sets the Compose apps to "preset-apps" (all apps on most devices).
# The system looks in the following locations to get the complete config:
     - /usr/lib/sota/conf.d/
     - /var/sota/sota.toml
     - /etc/sota/conf.d/
fioctl config updates --apps -

# Set the device tag to a "preset-tag",
# and the system will look in the following locations to get the complete config:
     - /usr/lib/sota/conf.d/
     - /var/sota/sota.toml
     - /etc/sota/conf.d/
fioctl config updates --tag -

Options

    --apps string    comma,separate,list
    --dryrun         Only show what would be changed
    --force          DANGER: For a config on a device that might result in corruption
-g, --group string   Device group to use
-h, --help           help for updates
    --tag string     Tag for devices to follow

Options inherited from parent commands

-c, --config string    config file (default is $HOME/.config/fioctl.yaml)
-f, --factory string   Factory to list Targets for
-t, --token string     API token from https://app.foundries.io/settings/tokens/
-v, --verbose          Print verbose logging

SEE ALSO

  • fioctl config - Manage configuration common to all devices in a Factory