diff --git a/lib/vagrant/action/builtin/disk.rb b/lib/vagrant/action/builtin/disk.rb index 31dca1177..d896abae0 100644 --- a/lib/vagrant/action/builtin/disk.rb +++ b/lib/vagrant/action/builtin/disk.rb @@ -11,10 +11,7 @@ module Vagrant machine = env[:machine] defined_disks = get_disks(machine, env) - # Check that provider plugin is installed for disk - # If not, log warning or error to user that disks won't be managed - - # TODO: configure and attach disks for the machines providers implementation + # Call into providers machine implementation for disk management # Continue On @app.call(env) @@ -24,9 +21,7 @@ module Vagrant return @_disks if @_disks @_disks = [] - @_disks = machine.config.vm.disks.map do |disk| - # initialize the disk provider?? - end + @_disks = machine.config.vm.disks @_disks end diff --git a/plugins/kernel_v2/config/disk.rb b/plugins/kernel_v2/config/disk.rb index 1ba152c68..eec9b686c 100644 --- a/plugins/kernel_v2/config/disk.rb +++ b/plugins/kernel_v2/config/disk.rb @@ -39,7 +39,6 @@ module VagrantPlugins # @return [String] attr_accessor :file - # Determines if this disk is the _main_ disk, or an attachment. # Defaults to true. #