Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove naming cruft, clarify comment

Removed confusing leftover "use_machine_name" variable
Made comment about :container_name more clear
  • Loading branch information...
commit 186b01e1920a03bd1373f4684d11d3379f6f7ed9 1 parent 44f00bd
Cam Cope authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/vagrant-lxc/config.rb
View
6 lib/vagrant-lxc/config.rb
@@ -12,14 +12,13 @@ class Config < Vagrant.plugin("2", :config)
# 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 @@ def customize(key, value)
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
Please sign in to comment.
Something went wrong with that request. Please try again.