Skip to content

Commit ef8f325

Browse files
authored
Add more sudoers documentation (#497)
1 parent a22c5fe commit ef8f325

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
@@ -330,6 +330,23 @@ sudoers file:
330330
cloudstack ALL=NOPASSWD: /usr/bin/cloudstack-setup-agent
331331
Defaults:cloudstack !requiretty
332332
333+
Please note that when adding the KVM host to your Cloudstack Management server,
334+
the setup commands will be run with sudo, even with root account.
335+
You should make sure that you are allowed to run binaries and sudo binaries.
336+
337+
On security hardened machines, make sure that the following line is
338+
commented-out in your sudoers file if it exists:
339+
340+
.. parsed-literal::
341+
342+
#Defaults noexec
343+
344+
You may also want to make sure that sudo works by executing the following as
345+
the user you want to register the KVM host with:
346+
347+
.. parsed-literal::
348+
349+
sudo /usr/in/cloudstack-setup-agent --help
333350
334351
Configure CPU model for KVM guests (Optional)
335352
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)