Simplify builtin disk action
This commit is contained in:
parent
e598007237
commit
83fea21ff1
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue