Include cleanup_disk action for virtualbox plugin

This commit is contained in:
Brian Cain 2020-01-14 10:26:41 -08:00
parent e4a57a8e1d
commit 5d723b4e23
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0
2 changed files with 7 additions and 0 deletions

View File

@ -44,6 +44,11 @@ module VagrantPlugins
Cap::ConfigureDisks
end
provider_capability(:virtualbox, :cleanup_disks) do
require_relative "cap/cleanup_disks"
Cap::CleanupDisks
end
provider_capability(:virtualbox, :snapshot_list) do
require_relative "cap"
Cap

View File

@ -2171,6 +2171,8 @@ en:
waiting_cleanup: "Waiting for cleanup before exiting..."
exit_immediately: "Exiting immediately, without cleanup!"
disk:
cleanup_provider_unsupported: |-
Guest provider '%{provider}' does not support the cleaning up disks, and will not attempt to clean up attached disks on the guest..
provider_unsupported: |-
Guest provider '%{provider}' does not support the disk feature, and will not use the disk configuration defined.
vm: