kernel/v2: box setting should be new-style

This commit is contained in:
Mitchell Hashimoto 2014-04-09 19:53:57 -07:00
parent e52556b5f5
commit 316aaa69fe
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ module VagrantPlugins
def initialize
@base_mac = UNSET_VALUE
@boot_timeout = UNSET_VALUE
@box = UNSET_VALUE
@box_check_update = UNSET_VALUE
@box_download_ca_cert = UNSET_VALUE
@box_download_checksum = UNSET_VALUE
@ -313,6 +314,7 @@ module VagrantPlugins
# Defaults
@base_mac = nil if @base_mac == UNSET_VALUE
@boot_timeout = 300 if @boot_timeout == UNSET_VALUE
@box = nil if @box == UNSET_VALUE
@box_check_update = true if @box_check_update == UNSET_VALUE
@box_download_ca_cert = nil if @box_download_ca_cert == UNSET_VALUE
@box_download_checksum = nil if @box_download_checksum == UNSET_VALUE