Skip to content

Commit d898c49

Browse files
authored
Add more sudoers documentation
1 parent 0b91e0a commit d898c49

File tree

1 file changed

+17
-0
lines changed
  • source/installguide/hypervisor

1 file changed

+17
-0
lines changed

source/installguide/hypervisor/kvm.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,23 @@ sudoers file:
312312
cloudstack ALL=NOPASSWD: /usr/bin/cloudstack-setup-agent
313313
Defaults:cloudstack !requiretty
314314
315+
Please note that when adding the KVM host to your Cloudstack Management server,
316+
the setup commands will be run with sudo, even with root account.
317+
You should make sure that you are allowed to run binaries and sudo binaries.
318+
319+
On security hardened machines, make sure that the following line is
320+
commented-out in your sudoers file if it exists:
321+
322+
.. parsed-literal::
323+
324+
#Defaults noexec
325+
326+
You may also want to make sure that sudo works by executing the following as
327+
the user you want to register the KVM host with:
328+
329+
.. parsed-literal::
330+
331+
sudo /usr/in/cloudstack-setup-agent --help
315332
316333
Configure CPU model for KVM guest (Optional)
317334
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)