Created a normal user and added the same to sudoer's list too. Able to bootstrap avocado-vt from the normal user. When I trigger the tests, able to create the guest how ever commands executed on Host is failed with rc=255 (Permission denied).
Example : Test is trying to set nr_hugepages which requires sudo permission for the user,
process.system('/sbin/sysctl vm.nr_hugepages=%d' % num)
is there a way to say that the host commands has to be executed with sudo if the user is a non-root user.
Hi,
I am referring to the following avocato-VT document http://avocado-vt.readthedocs.io/en/latest/ParallelJobs.html
Created a normal user and added the same to sudoer's list too. Able to bootstrap avocado-vt from the normal user. When I trigger the tests, able to create the guest how ever commands executed on Host is failed with rc=255 (Permission denied).
Example : Test is trying to set nr_hugepages which requires sudo permission for the user, process.system('/sbin/sysctl vm.nr_hugepages=%d' % num)
is there a way to say that the host commands has to be executed with sudo if the user is a non-root user.