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 |
|
Brian Cain
|
318eb4e65a
|
Update method docs in hyperv driver
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
b3a7bd4566
|
Add dismount_vhd powershell script
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
b66a61a58d
|
Add Dismount-VHD driver method for hyper-v
|
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
|
66a22b190a
|
Add powershell script for Get-VHD
|
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
|
fb39bd7ed0
|
Use uppercase Name for getting vm name
|
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
|
6835429538
|
Grab correct name to pass along to disk command
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
0675393e06
|
Add named parameters to powershell execute methods in hyper-v driver
Parameters to the execute method need to be named to match up to their
names inside the parameter arguments for the respective powershell
scripts
|
2020-06-30 14:22:41 -07:00 |
|
Brian Cain
|
e8b900936a
|
Add disk management methods to hyper-v driver actions
|
2020-06-30 14:22:41 -07:00 |
|