Remove unused experimental flag for disk enablement
This commit is contained in:
parent
8af2e5c8be
commit
b11aa53294
@ -433,9 +433,8 @@ module VagrantPlugins
|
||||
# Add provider config
|
||||
disk_config.add_provider_config(provider_options, &block)
|
||||
|
||||
if !Vagrant::Util::Experimental.feature_enabled?("disk_base_config") &&
|
||||
!Vagrant::Util::Experimental.feature_enabled?("virtualbox_disk_hdd")
|
||||
@logger.warn("Disk config defined, but experimental feature is not enabled. To use this feature, enable it with the experimental flag `disk_base_config`. Disk will not be added to internal config, and will be ignored.")
|
||||
if !Vagrant::Util::Experimental.feature_enabled?("virtualbox_disk_hdd")
|
||||
@logger.warn("Disk config defined, but experimental feature is not enabled. To use this feature, enable it with the experimental flag `virtualbox_disk_hdd`. Disk will not be added to internal config, and will be ignored.")
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
@ -552,7 +552,7 @@ describe VagrantPlugins::Kernel_V2::VMConfig do
|
||||
describe "#disk" do
|
||||
before(:each) do
|
||||
allow(Vagrant::Util::Experimental).to receive(:feature_enabled?).
|
||||
with("disk_base_config").and_return("true")
|
||||
with("virtualbox_disk_hdd").and_return("true")
|
||||
end
|
||||
|
||||
it "stores the disks" do
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user