From 0dc85a07e22e1f829507475b732c8c7b2314d22b 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 3af09c019..1713fcda2 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