Check and call into provider capability `:configure_disks`

This commit is contained in:
Brian Cain 2019-11-22 14:13:50 -08:00
parent f55aca091c
commit 8ad810b5b6
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0
1 changed files with 5 additions and 2 deletions

View File

@ -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)