From 186b01e1920a03bd1373f4684d11d3379f6f7ed9 Mon Sep 17 00:00:00 2001 From: Cam Cope Date: Tue, 18 Feb 2014 03:05:14 -0500 Subject: [PATCH] remove naming cruft, clarify comment Removed confusing leftover "use_machine_name" variable Made comment about :container_name more clear --- lib/vagrant-lxc/config.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/vagrant-lxc/config.rb b/lib/vagrant-lxc/config.rb index a780a81..1a47058 100644 --- a/lib/vagrant-lxc/config.rb +++ b/lib/vagrant-lxc/config.rb @@ -12,14 +12,13 @@ module Vagrant # on /etc/sudoers attr_accessor :sudo_wrapper - # A string to explicitly set the container name (use :machine) to set it - # to the corresponding machine name. + # A string to explicitly set the container name. To use the vagrant + # machine name, set this to :machine attr_accessor :container_name def initialize @customizations = [] @sudo_wrapper = UNSET_VALUE - @use_machine_name = UNSET_VALUE @container_name = UNSET_VALUE end @@ -40,7 +39,6 @@ module Vagrant def finalize! @sudo_wrapper = nil if @sudo_wrapper == UNSET_VALUE - @use_machine_name = false if @use_machine_name == UNSET_VALUE @container_name = nil if @container_name == UNSET_VALUE end