configuration: add details about sudoers configuration when adding non-root user
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 1bf8b0b261f4e80b64450b1b002804e45b61a24b)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
diff --git a/source/configuration.rst b/source/configuration.rst
index c1771dc..1dcb9a9 100644
--- a/source/configuration.rst
+++ b/source/configuration.rst
@@ -1061,6 +1061,11 @@
on the KVM host and set the parameter network.bridge.type to
openvswitch before adding the host to CloudStack
+- If you're using a non-root user to add a KVM host, please add the user to
+ sudoers file:
+ .. sourcecode:: bash
+ cloudstack ALL=NOPASSWD: /usr/bin/cloudstack-setup-agent
+ defaults:cloudstack !requiretty
Adding a XenServer or KVM Host
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^