Rename config.vm.host_name to config.vm.hostname for V2
This commit is contained in:
parent
c9ad55d9e7
commit
934238bba0
|
@ -96,7 +96,7 @@ module VagrantPlugins
|
|||
new.vm.box = self.box if self.box
|
||||
new.vm.box_url = self.box_url if self.box_url
|
||||
new.vm.guest = self.guest if self.guest
|
||||
new.vm.host_name = self.host_name if self.host_name
|
||||
new.vm.hostname = self.host_name if self.host_name
|
||||
new.vm.usable_port_range = self.auto_port_range if self.auto_port_range
|
||||
|
||||
if self.boot_mode
|
||||
|
|
|
@ -17,7 +17,7 @@ module VagrantPlugins
|
|||
attr_accessor :graceful_halt_retry_count
|
||||
attr_accessor :graceful_halt_retry_interval
|
||||
attr_accessor :guest
|
||||
attr_accessor :host_name
|
||||
attr_accessor :hostname
|
||||
attr_accessor :usable_port_range
|
||||
attr_reader :synced_folders
|
||||
attr_reader :provisioners
|
||||
|
@ -25,6 +25,7 @@ module VagrantPlugins
|
|||
def initialize
|
||||
@graceful_halt_retry_count = UNSET_VALUE
|
||||
@graceful_halt_retry_interval = UNSET_VALUE
|
||||
@hostname = UNSET_VALUE
|
||||
@synced_folders = {}
|
||||
@provisioners = []
|
||||
|
||||
|
|
Loading…
Reference in New Issue