From baab4d3614ad5634b2bf4a4791454959919d46f6 Mon Sep 17 00:00:00 2001
From: Andreas Ziegler <dev@andreas-ziegler.de>
Date: Sun, 3 Nov 2019 18:49:42 +0100
Subject: [PATCH] docs: feature/roles: fix uci set command

---
 docs/features/roles.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/features/roles.rst b/docs/features/roles.rst
index dcefe0425..105d3ddee 100644
--- a/docs/features/roles.rst
+++ b/docs/features/roles.rst
@@ -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::
 
-  uci set gluon-node-info.system.role="$ROLE"
+  uci set gluon-node-info.@system[0].role="$ROLE"
   uci commit
 
 Please replace ``$ROLE`` by the role you want the node to own.
-- 
GitLab