This is an automated email from the ASF dual-hosted git repository.

sureshanaparti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack-documentation.git


The following commit(s) were added to refs/heads/main by this push:
     new ef8f3259 Add more sudoers documentation (#497)
ef8f3259 is described below

commit ef8f3259df168420cbf8532a65c08a892a66d0eb
Author: Orsiris de Jong <[email protected]>
AuthorDate: Thu Aug 28 10:14:28 2025 +0200

    Add more sudoers documentation (#497)
---
 source/installguide/hypervisor/kvm.rst | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/source/installguide/hypervisor/kvm.rst 
b/source/installguide/hypervisor/kvm.rst
index 6848fe18..9977c157 100644
--- a/source/installguide/hypervisor/kvm.rst
+++ b/source/installguide/hypervisor/kvm.rst
@@ -330,6 +330,23 @@ sudoers file:
    cloudstack ALL=NOPASSWD: /usr/bin/cloudstack-setup-agent
    Defaults:cloudstack !requiretty
 
+Please note that when adding the KVM host to your Cloudstack Management server,
+the setup commands will be run with sudo, even with root account.
+You should make sure that you are allowed to run binaries and sudo binaries.
+
+On security hardened machines, make sure that the following line is
+commented-out in your sudoers file if it exists:
+
+.. parsed-literal::
+
+   #Defaults noexec
+
+You may also want to make sure that sudo works by executing the following as
+the user you want to register the KVM host with:
+
+.. parsed-literal::
+
+   sudo /usr/in/cloudstack-setup-agent --help
 
 Configure CPU model for KVM guests (Optional)
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Reply via email to