kernel: config.vm.host_name works again
This commit is contained in:
parent
caf153270a
commit
0e9711d0dd
|
@ -11,6 +11,7 @@ FEATURES:
|
||||||
IMPROVEMENTS:
|
IMPROVEMENTS:
|
||||||
|
|
||||||
- core: add `--color` to any Vagrant command to FORCE color output. [GH-2027]
|
- core: add `--color` to any Vagrant command to FORCE color output. [GH-2027]
|
||||||
|
- core: "config.vm.host_name" works again, just an alias to hostname.
|
||||||
- commands/plugin/install: Post install message of a plugin will be
|
- commands/plugin/install: Post install message of a plugin will be
|
||||||
shown if available. [GH-1986]
|
shown if available. [GH-1986]
|
||||||
- commands/status: cosmetic improvement to better align names and
|
- commands/status: cosmetic improvement to better align names and
|
||||||
|
|
|
@ -44,6 +44,12 @@ module VagrantPlugins
|
||||||
@__synced_folders = {}
|
@__synced_folders = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# This was from V1, but we just kept it here as an alias for hostname
|
||||||
|
# because too many people mess this up.
|
||||||
|
def host_name=(value)
|
||||||
|
@hostname = value
|
||||||
|
end
|
||||||
|
|
||||||
# Custom merge method since some keys here are merged differently.
|
# Custom merge method since some keys here are merged differently.
|
||||||
def merge(other)
|
def merge(other)
|
||||||
super.tap do |result|
|
super.tap do |result|
|
||||||
|
|
Loading…
Reference in New Issue