config: update notes on adding kvm host using non-root user
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
diff --git a/source/configuration.rst b/source/configuration.rst
index 1dcb9a9..daa8292 100644
--- a/source/configuration.rst
+++ b/source/configuration.rst
@@ -1063,7 +1063,6 @@
- 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
diff --git a/source/hypervisor/kvm.rst b/source/hypervisor/kvm.rst
index 3e1c7a9..f729998 100644
--- a/source/hypervisor/kvm.rst
+++ b/source/hypervisor/kvm.rst
@@ -161,6 +161,14 @@
recommended that you continue to read the documentation before adding
the host!
+If you're using a non-root user to add the KVM host, please add the user to
+sudoers file:
+
+.. sourcecode:: bash
+
+ cloudstack ALL=NOPASSWD: /usr/bin/cloudstack-setup-agent
+ defaults:cloudstack !requiretty
+
Configure CPU model for KVM guest (Optional)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^