Check and call into provider capability `:configure_disks`
This commit is contained in:
parent
f55aca091c
commit
8ad810b5b6
|
@ -12,8 +12,11 @@ module Vagrant
|
||||||
defined_disks = get_disks(machine, env)
|
defined_disks = get_disks(machine, env)
|
||||||
|
|
||||||
# Call into providers machine implementation for disk management
|
# Call into providers machine implementation for disk management
|
||||||
#
|
if machine.provider.capability?(:configure_disks)
|
||||||
# machine.provider.configure_disks(defined_disks)
|
machine.provider.capability(:configure_disks, defined_disks)
|
||||||
|
else
|
||||||
|
@logger.warn(":configure_disks capability not defined for provider, cannot configure disks")
|
||||||
|
end
|
||||||
|
|
||||||
# Continue On
|
# Continue On
|
||||||
@app.call(env)
|
@app.call(env)
|
||||||
|
|
Loading…
Reference in New Issue