fioctl config updates

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

Synopsis

View or change factory wide configuration parameters used by aktualizr-lite for updating a device. When run with no options, this command will print out how the factory is currently configured. Configuration can be updated with commands like:

# Make a device start taking updates from Targets tagged with “devel” fioctl config updates <device> –tags devel

# Make a device start taking updates from 2 different tags: fioctl config updates <device> –tags devel,devel-foo

# Set the docker apps a device will run: fioctl config updates <device> –apps shellhttpd

# Set the docker apps and the tag: fioctl config updates <device> –apps shellhttpd –tags master

# Move device from old docker-apps to compose-apps: fioctl config updates <device> –compose-apps

Use a -g or –group parameter to view or change a device group wide configuration instead.

fioctl config updates <device> [flags]

Options

    --apps string    comma,separate,list
    --compose-apps   Migrate device from docker-apps to compose-apps
    --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
    --tags string    comma,separate,list

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