doc: Let everyone know about the new vagrant lxc sudoers command

This commit is contained in:
Fabio Rehm 2014-03-21 20:04:35 -03:00
parent 17a6a35c92
commit 8b1573c536
3 changed files with 7 additions and 5 deletions

View file

@ -128,9 +128,12 @@ end
### Avoiding `sudo` passwords
This plugin requires **a lot** of `sudo`ing since [user namespaces](https://wiki.ubuntu.com/UserNamespace)
are not supported on mainstream kernels. Have a look at the [Wiki](https://github.com/fgrehm/vagrant-lxc/wiki/Avoiding-'sudo'-passwords)
to find out how to work around that specially if you are running an OS with `sudo`
< 1.8.4 (like Ubuntu 12.04) as you might be affected by a bug.
are not supported on mainstream kernels. To work around that, you can use the
`vagrant lxc sudoers` command which will create a file under `/etc/sudoers.d/vagrant-lxc-<USER>`
whitelisting all commands required by `vagrant-lxc` to run.
If you are interested on what will be generated by that command, please check
[this code](lib/vagrant-lxc/commands/sudoers.rb#L58-L81).
### Base boxes

View file

@ -3,7 +3,7 @@ module Vagrant
module Command
class Root < Vagrant.plugin("2", :command)
def self.synopsis
'LXC setup'
'vagrant-lxc specific commands'
end
def initialize(argv, env)

View file

@ -4,7 +4,6 @@ module Vagrant
module LXC
module Command
class Sudoers < Vagrant.plugin("2", :command)
def execute
options = { user: ENV['USER'] }