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
Brian Cain
a7a779586a
Don't limit disk number for hyper-v for now
2020-06-30 14:22:41 -07:00
Brian Cain
a20418ad43
Format output from json to return to hyper-v driver
2020-06-30 14:22:41 -07:00
Brian Cain
59bbf9736a
Add powershell script for retreiving disk info for a hyper-v guest
2020-06-30 14:22:41 -07:00
Brian Cain
50adf04b5d
Add list harddisk method for hyper-v provider
2020-06-30 14:22:41 -07:00
Brian Cain
c832394a95
Add location of hyper-v disk path
2020-06-30 14:22:41 -07:00
Brian Cain
83922333d5
Use UInt64 type instead of String for DiskSize
2020-06-30 14:22:41 -07:00
Brian Cain
d451151ff8
Add resize disk driver method
2020-06-30 14:22:41 -07:00
Brian Cain
06799f0ff1
Add driver scripts for disk management
2020-06-30 14:22:41 -07:00
Brian Cain
2b8376cda8
Add additional driver methods for managing disks in hyper-v
2020-06-30 14:22:41 -07:00
Brian Cain
60f2c14b82
Update attach disk script
2020-06-30 14:22:41 -07:00
Brian Cain
26e5cf1d02
Add powershell script for attaching a harddisk to a guest
2020-06-30 14:22:41 -07:00
Brian Cain
09bd28048e
Add driver method for attaching a new disk for hyper-v guests
2020-06-30 14:22:41 -07:00
Brian Cain
7be0a6807a
Fix mixed tabs on get_vm_status script
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
cf47e7ecaf
Replace virtualbox cap name with hyperv
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
Brian Cain
0d6f12fc3a
Add capabilities for disk management with Hyper-V
2020-06-30 14:22:41 -07:00
Sophia Castellarin
1a45f302e3
Merge pull request #11499 from soapy1/hyperv-integrationservice-non-ascii-names
...
Use service id for enabling/disabling vm integration services
2020-04-17 09:53:35 -04:00
Chris Roberts
98b6710b83
Merge pull request #11425 from idursun/catch-identitynotmappedexception
...
Fix #11271 : catch IdentityNotMappedException
2020-04-16 17:52:00 -07:00
sophia
d5cd4da0e0
Use service id for enabling/disabling vm integration services
...
ref:
https://github.com/PlagueHO/LabBuilder/issues/183
ref service name to id:
https://social.technet.microsoft.com/Forums/de-DE/154917de-f3ca-4b1e-b3f8-23dd4b4f0f06/getvmintegrationservice-sprachabhngig?forum=powershell_de
2020-04-13 09:39:53 -04:00
sophia
39d7cd8997
Wrap all progress type outputs with rewriting to enable --no-tty
2020-04-03 16:28:59 -04:00
ibrahim.dursun
fb8180a843
Fix #11271 : catch IdentityNotMappedException
...
Some IdentityReferences cannot be translated to
[System.Security.Principal.SecurityIdentifier] because they don't map to
a SecurityIdentifier.
An example is:
IdentityReference : APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES
In such case, it is better to catch the exception and treat it as $false.
2020-03-03 15:57:21 +00:00
Matt Shanahan
6caa7bfa86
Fixes issue hashicorp#10973: checks that VMMS WMI reference is null & throws appropriately
2019-07-19 07:48:03 +02:00
Chris Roberts
7750d6182d
Merge pull request #10410 from chrisroberts/f-hyperv-net-typo
...
Fix typo in hyper-v network configuration detection script
2018-11-13 15:43:03 -08:00
Chris Roberts
8f49e05ad4
Merge pull request #10406 from chrisroberts/e-hyperv-destroy
...
Disable automatic checkpoints prior to VM removal
2018-11-13 15:22:11 -08:00
Chris Roberts
9dd137633a
Fix typo in hyper-v network configuration detection script
2018-11-13 15:11:04 -08:00
Chris Roberts
0ea4dcdc6e
Disable automatic checkpoints prior to VM removal
2018-11-13 13:09:12 -08:00
Chris Roberts
83ed01869d
Ignore errors when generating new VM configuration
...
The default error action is to stop. When generating the initial
VM configuration during import, if the Compare-VM command fails
it results in a generic error message. Instead the error should
be ignored so the source VM can be inspected and a useful error
message can be returned to the user.
2018-11-13 12:21:17 -08:00
Brian Cain
bcb6bf8acd
Merge pull request #10347 from briancain/add-timeout-for-ssh-info-hyperv
...
Fixes #10229 : Add proper reboot capability for Windows guests
2018-11-06 09:25:36 -08:00
Chris Roberts
1ece44ca84
Remove module loading from vlan script
2018-11-02 10:42:28 -07:00