ax settings set

Configure settings of a node

ax settings set [FLAGS] <SCOPE> <VALUE> <NODE>
-h, --help Prints help information
-l, --local Process over local network
-V, --version Prints version information
-v Verbosity level. Add more v for higher verbosity
(-v, -vv, -vvv, etc.)
<SCOPE> Scope for which you want to set the given settings
<VALUE> The value you want to set for the given scope as a YAML or JSON
string. You may also pass in a file using the syntax `@file.yml`
or have the command read from stdin using `@-`
<NODE> Node ID or, if using `--local`, the IP address of the node to
perform the operation on
App must be stopped in order to set settings for it

Nodes will only accept new settings if the relevant app is not running. For example: setting settings for the scope will only work if the app with ID is not running on the node(s).

All app must be stopped in order to set node settings

Nodes will only accept new settings for the com.actyx.os scope if all apps on the node(s) are not running.

Please see the following usage examples for the ax settings set command:

# Set settings for settings scope com.actyx.os at node from file
# node1.settings.yml
ax settings set --local com.actyx.os @node1.settings.yml
# Just set the specific setting displayName
ax settings set --local com.actyx.os/general/displayName "Node 1"
# Read in settings from stdin
echo "
swarmKey: 4245c0e542a4f89985a92de178d2169dc7f3596a382828aa8381bc13370e9880
displayName: My Node
- /ipfs/
- /ipfs/" | ax settings set --local com.actyx.os @-