remove naming cruft, clarify comment
Removed confusing leftover "use_machine_name" variable Made comment about :container_name more clear
This commit is contained in:
parent
44f00bd7ed
commit
186b01e192
1 changed files with 2 additions and 4 deletions
|
@ -12,14 +12,13 @@ module Vagrant
|
||||||
# on /etc/sudoers
|
# on /etc/sudoers
|
||||||
attr_accessor :sudo_wrapper
|
attr_accessor :sudo_wrapper
|
||||||
|
|
||||||
# A string to explicitly set the container name (use :machine) to set it
|
# A string to explicitly set the container name. To use the vagrant
|
||||||
# to the corresponding machine name.
|
# machine name, set this to :machine
|
||||||
attr_accessor :container_name
|
attr_accessor :container_name
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
@customizations = []
|
@customizations = []
|
||||||
@sudo_wrapper = UNSET_VALUE
|
@sudo_wrapper = UNSET_VALUE
|
||||||
@use_machine_name = UNSET_VALUE
|
|
||||||
@container_name = UNSET_VALUE
|
@container_name = UNSET_VALUE
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -40,7 +39,6 @@ module Vagrant
|
||||||
|
|
||||||
def finalize!
|
def finalize!
|
||||||
@sudo_wrapper = nil if @sudo_wrapper == UNSET_VALUE
|
@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
|
@container_name = nil if @container_name == UNSET_VALUE
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue