Add the new graceful_halt settings to `config.vm`
This commit is contained in:
parent
e1f4e27b1b
commit
1bf08f70d6
|
@ -13,6 +13,8 @@ Vagrant.configure("2") do |config|
|
|||
config.vm.usable_port_range = (2200..2250)
|
||||
config.vm.box_url = nil
|
||||
config.vm.base_mac = nil
|
||||
config.vm.graceful_halt_retry_count = 60
|
||||
config.vm.graceful_halt_retry_interval = 1
|
||||
config.vm.guest = :linux
|
||||
|
||||
# Share SSH locally by default
|
||||
|
|
|
@ -15,6 +15,8 @@ module VagrantPlugins
|
|||
attr_accessor :base_mac
|
||||
attr_accessor :box
|
||||
attr_accessor :box_url
|
||||
attr_accessor :graceful_halt_retry_count
|
||||
attr_accessor :graceful_halt_retry_interval
|
||||
attr_accessor :guest
|
||||
attr_accessor :host_name
|
||||
attr_accessor :usable_port_range
|
||||
|
@ -26,6 +28,8 @@ module VagrantPlugins
|
|||
|
||||
def initialize
|
||||
@forwarded_ports = []
|
||||
@graceful_halt_retry_count = UNSET_VALUE
|
||||
@graceful_halt_retry_interval = UNSET_VALUE
|
||||
@shared_folders = {}
|
||||
@networks = []
|
||||
@provisioners = []
|
||||
|
|
Loading…
Reference in New Issue