Brian Cain
625bbf9cc8
Add more specific rescue exceptions for when errors occur for resizing
...
disks
2020-02-12 16:26:18 -08:00
Brian Cain
efde9595c4
Add error case handling for resizing vmdk disks
2020-02-12 09:32:38 -08:00
Brian Cain
1826d210a0
Recover from cloning and resizin disk failures
...
This commit adds some recovery if Vagrant fails to reattach or clone a
vmdk disk that needs to be resized. It first moves the original disk
(after cloning) to a backup file. If something fails, it will reattach
the original disk to the guest and continue to raise the exception.
2020-02-11 16:02:24 -08:00
Brian Cain
3662344d2e
Update rspec tests for driver methods
2020-02-10 15:31:10 -08:00
Brian Cain
b594715ded
Add tests for resizing disks
2020-02-10 12:58:11 -08:00
Brian Cain
0ea26b9506
Add test for comparing disk size
2020-02-10 12:58:11 -08:00
Brian Cain
d1d27a3b56
Add tests for handle_configure_disk
2020-02-10 12:58:11 -08:00
Brian Cain
6872625609
Add more tests for configure_disks virtualbox cap
2020-02-10 12:58:11 -08:00
Brian Cain
337f7dd616
Add cleanup_disks tests
2020-02-10 12:58:11 -08:00
Brian Cain
55cb8d1f0a
Add configure_disk blank unit test file and some method docs
2020-02-10 12:58:11 -08:00
Seth Vargo
7b89ecc230
Add public_address cap for VirtualBox
...
Fixes GH-5978
2015-11-23 16:23:22 -05:00