fioctl devices config updates
Configure aktualizr-lite settings for how updates are applied to a device
Synopsis
View or change configuration parameters used by aktualizr-lite for updating a device. When run with no options, this command print out how the device is currently configured and reporting.
fioctl devices config updates <device> [flags]
Examples
# Make a device start taking updates from Targets tagged with "devel"
fioctl devices config updates <device> --tag devel
# Set the Compose apps a device will run:
fioctl devices config updates <device> --apps shellhttpd
# Set the Compose apps and the tag:
fioctl devices config updates <device> --apps shellhttpd --tag master
# There are two special characters: "," and "-".
# Providing a "," sets the Compose apps to "none", meaning it will run no apps:
fioctl devices config updates <device> --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 devices config updates <device> --apps -
# Set the device tag to a preset-tag,
# and the system will look in the following locations in order to get the complete config:
- /usr/lib/sota/conf.d/
- /var/sota/sota.toml
- /etc/sota/conf.d/
fioctl devices config updates <device> --tag -
Options
--apps string comma,separate,list
-u, --by-uuid Look up device by UUID rather than name
--dryrun Only show what would be changed
--force DANGER: For a config on a device that might result in corruption
-h, --help help for updates
--tag string Target tag for device 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 devices config - Device configuration