Chris Roberts
|
513be177d3
|
Remove experimental checks
Removes experimental checks on existing experimental features.
|
2023-09-08 14:15:34 -07:00 |
|
hashicorp-copywrite[bot]
|
36a312ee26
|
add missing license headers and update copyright file headers to BUS-1.1
|
2023-08-10 21:53:25 +01:00 |
|
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
|
9c1338b335
|
Fix typo in logger message
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
af20d4a426
|
Remove old comment
|
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
|
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
|
4130cfe497
|
Properly check for disk paths when cleaning up disks in hyper-v
|
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
|
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
|
43eaceef13
|
Update disk meta keys to be consistent with Hyper-V keys
|
2020-06-30 14:23:34 -07:00 |
|
Brian Cain
|
be939fcb59
|
Remove extra comments
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
bb4541a2a5
|
Remove stale comment
|
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
|
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
|
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
|
5405aaac82
|
Remove disk file after detaching from hyper-v guest
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
b99143866c
|
Fix typo for ControllerNumber param
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
f792b58704
|
Add functionality to clean up stale disks for hyper-v guests
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
ac5cc68e55
|
Obtain primary disk UUID to save for disk_meta file
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
2108b5a695
|
Begin to handle cleaning up disks with hyper-v
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
8f6b18f992
|
Add note about obtaining disk name in hyper-v
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
6b7b4b2c3b
|
Add todo for cleanup disk action
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
f3f229c681
|
Resize hyper-v disks
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
a6e025f3f0
|
Fix module name for cleanup_disks in HyperV driver
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
441b81c704
|
Add TODO about getting disk info for disk_meta file
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
bb2195b692
|
Add ability to create and attach disks to hyper-v guests
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
b79d6bdc27
|
Actually compare disk size with requested size
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
b6c99510c4
|
Add notes for creating disks for hyper-v
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
8b28edf573
|
Comment out disk reattach for now
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
6cc5de46de
|
Fixup how hyper-v configure disks checks disk size against config
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
93489ba190
|
Add hyper-v driver method for obtaining full disk info given a path
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
c9b2e609a0
|
Properly grab primary disk from hyper-v vm
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
a7a779586a
|
Don't limit disk number for hyper-v for now
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
787c8a150a
|
Remove virtualbox code from hyper-v configure_disks file
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
090959227e
|
More comments for TODO with cleaning up disks in hyper-v
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
287b0e5aab
|
Add comment for implementation
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
2ef9274f9d
|
Remove virtualbox code from cleanup_disks method
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
8dfa1affdf
|
Use correct disk extension formats for Hyper-V
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
9020868a93
|
Add initial files for Hyper-V disk configuration and management
|
2020-06-30 14:22:41 -07:00 |
|
Jon Topper
|
df4caf0757
|
Add snapshots to Hyper-V driver
|
2016-05-13 16:58:08 +01:00 |
|
Mitchell Hashimoto
|
75754019a9
|
providers/hyperv: fix the class name
|
2014-03-06 11:01:52 -08:00 |
|