kernel/v2: check for box updates by default
/cc @pearkes @armon
This commit is contained in:
parent
751b4da2c6
commit
848fe5d166
|
@ -307,7 +307,7 @@ module VagrantPlugins
|
||||||
# Defaults
|
# Defaults
|
||||||
@base_mac = nil if @base_mac == UNSET_VALUE
|
@base_mac = nil if @base_mac == UNSET_VALUE
|
||||||
@boot_timeout = 300 if @boot_timeout == UNSET_VALUE
|
@boot_timeout = 300 if @boot_timeout == UNSET_VALUE
|
||||||
@box_check_update = nil if @box_check_update == 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_ca_cert = nil if @box_download_ca_cert == UNSET_VALUE
|
||||||
@box_download_checksum = nil if @box_download_checksum == UNSET_VALUE
|
@box_download_checksum = nil if @box_download_checksum == UNSET_VALUE
|
||||||
@box_download_checksum_type = nil if @box_download_checksum_type == UNSET_VALUE
|
@box_download_checksum_type = nil if @box_download_checksum_type == UNSET_VALUE
|
||||||
|
|
|
@ -33,10 +33,10 @@ describe VagrantPlugins::Kernel_V2::VMConfig do
|
||||||
end
|
end
|
||||||
|
|
||||||
context "#box_check_update" do
|
context "#box_check_update" do
|
||||||
it "defaults to nil" do
|
it "defaults to true" do
|
||||||
subject.finalize!
|
subject.finalize!
|
||||||
|
|
||||||
expect(subject.box_check_update).to be_nil
|
expect(subject.box_check_update).to be_true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue