docs: feature/roles: fix uci set command
This commit is contained in:
parent
49e9152934
commit
0dc85a07e2
@ -28,7 +28,7 @@ If you want node owners to change the defined roles via config-mode you can add
|
|||||||
|
|
||||||
The role is saved in ``gluon-node-info.system.role``. To change the role using command line do::
|
The role is saved in ``gluon-node-info.system.role``. To change the role using command line do::
|
||||||
|
|
||||||
uci set gluon-node-info.system.role="$ROLE"
|
uci set gluon-node-info.@system[0].role="$ROLE"
|
||||||
uci commit
|
uci commit
|
||||||
|
|
||||||
Please replace ``$ROLE`` by the role you want the node to own.
|
Please replace ``$ROLE`` by the role you want the node to own.
|
||||||
|
Loading…
Reference in New Issue
Block a user