Skip to main content

ax settings set

Configure settings of an ActyxOS node
USAGE:
ax settings set [FLAGS] <SCOPE> <VALUE> <NODE>
FLAGS:
-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.)
ARGS:
<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

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

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