Skip to content

Add more sudoers documentation #497

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions source/installguide/hypervisor/kvm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,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 guest (Optional)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down