From 8ffc9ef92ac8e907c41459aeeb810d9b8842d85c Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Mon, 22 Sep 2014 23:07:12 -0300 Subject: [PATCH] Remove version suffix from generated sudoers commands --- CHANGELOG.md | 6 ++++++ lib/vagrant-lxc.rb | 2 +- lib/vagrant-lxc/command/sudoers.rb | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 029a8db..aa8e6d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## [1.0.0](https://github.com/fgrehm/vagrant-lxc/compare/v1.0.0.alpha.3...v1.0.0) (Sep 22, 2014) +BACKWARDS INCOMPATIBILITIES: + + - Remove plugin version from config file name generated by the `vagrant lxc sudoers` + command. Manual removal of `/usr/local/bin/vagrant-lxc-wrapper-*` / `/etc/sudoers.d/vagrant-lxc-*` + files are required. + IMPROVEMENTS: - Add support for specifying the `--strip-parameters` used by the [default template](scripts/lxc-template) diff --git a/lib/vagrant-lxc.rb b/lib/vagrant-lxc.rb index 4914a3b..825eb18 100644 --- a/lib/vagrant-lxc.rb +++ b/lib/vagrant-lxc.rb @@ -8,7 +8,7 @@ module Vagrant end def self.sudo_wrapper_path - "/usr/local/bin/vagrant-lxc-wrapper-#{VERSION}" + "/usr/local/bin/vagrant-lxc-wrapper" end end end diff --git a/lib/vagrant-lxc/command/sudoers.rb b/lib/vagrant-lxc/command/sudoers.rb index 689ce08..8d27974 100644 --- a/lib/vagrant-lxc/command/sudoers.rb +++ b/lib/vagrant-lxc/command/sudoers.rb @@ -36,7 +36,7 @@ module Vagrant end def sudoers_path - "/etc/sudoers.d/vagrant-lxc-#{Vagrant::LXC::VERSION.gsub( /\./, '-')}" + "/etc/sudoers.d/vagrant-lxc" end private