Brian Cain
|
0139d8f020
|
Simplify other select to detect instead
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
39b5bb4beb
|
Simplify selecting disk from all_disks hash
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
05d3045f3a
|
Add RDoc for list_hdds
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
9c1338b335
|
Fix typo in logger message
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
497cb67b50
|
Include new disk ext cap methods in test mock ups
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
af20d4a426
|
Remove old comment
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
d35feb62a3
|
Simplify key check for provider option config
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
b36db04b3d
|
Validate and get default disk extensions for provider
This commit updates the hyperv and virtualbox provider caps to validate
and also return the default disk extension.
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
13c91d68a6
|
Only grab provider_config if provider key exists and config isn't empty
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
1579ac9c3a
|
Update method docs to include expected opts keys
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
69dff3a4c8
|
Use key? helper
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
ae0fb6f857
|
Update check for provider_config availability
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
a279f89d29
|
update how value is checked for execute in hyper-v driver
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
71f6b97153
|
Delete old comments
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
c063ca6100
|
Replace invalid disk name characters with underscore
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
96d19264b6
|
Automatically remove invalid file characters for disk name
This commit copies what Vagrant does to filter out guest names with
invalid characters, and applies the same regex to disk names.
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
4130cfe497
|
Properly check for disk paths when cleaning up disks in hyper-v
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
66fe2e2854
|
Ensure size param is set for a disk
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
18b9ccd0a5
|
Remove unused local var
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
38445935dd
|
Ensure params are UInt32 rather than string
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
f8dfcadb70
|
Only convert BlockSizeBytes option for Hyper-V disk provider_config
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
56645b7bc5
|
Finish up configure_disk_test unit tests
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
99d244c4ed
|
Build out initial tests for configure_disks
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
234bff9271
|
Add cleanup_disks_test unit test file
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
43eaceef13
|
Update disk meta keys to be consistent with Hyper-V keys
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
754928a206
|
Ensure provider_config is a hash before calling .empty?
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
d07e6c5c6a
|
Rearrange hyperv disk driver methods
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
173d721336
|
Add Hyper-V Disk management docs
|
2020-06-30 14:23:33 -07:00 |
|
Brian Cain
|
7012328672
|
Add hyperv docs for disk management
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
cf063c6e38
|
Update validation to look for if provider_config is empty not nil
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
be939fcb59
|
Remove extra comments
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
192caab02d
|
Fix provider_config merging for disk config
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
1d8db27340
|
Fixup handling parameters for hyper-v powershell disk scripts
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
bb4541a2a5
|
Remove stale comment
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
0c19e6da26
|
Fix typo
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
d30482a502
|
Explicitly pass along optional params
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
bbe9a637e7
|
Convert size options into byte form
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
9e8343fc93
|
Automatically add all passed in parameters to hyper-v command
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
f798afa0c0
|
Attempt to pass along parameters
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
cafb6ec239
|
Remove extra provider_config option
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
2de5ef0bf2
|
Fix typo in new_vhd powershell script name
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
cc2dc9a1e1
|
Use disk file from config if defined
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
1dbda081d2
|
Add notes for creating disk options
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
5258c68cf2
|
Fixup disk unit tests
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
ed0fdbf868
|
Add note about attaching disks
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
f2bcf86aca
|
Allow shrinking vhdx disk formats for hyperv provider
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
82a6c2c8c1
|
Add TODO for attaching disks on start up if left in bad state
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
20c4325d0a
|
Update code docs for hyperv disk management
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
a3c2e31f01
|
Set default disk format for vmware_desktop
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
5405aaac82
|
Remove disk file after detaching from hyper-v guest
|
2020-06-30 14:22:41 -07:00 |
|