cloudbase / windows-imaging-tools

Tools to automate the creation of a Windows image for OpenStack, supporting KVM, Hyper-V, ESXi and more.
Apache License 2.0
675 stars 227 forks source link

Resize only OS partition on UEFI drive #249

Closed jacekchalupka closed 5 years ago

jacekchalupka commented 5 years ago

While creating UEFI drive Mount-VHD returns an array of partitions' drive letters, but code assumes that there is just one drive letter. Returned array is being filtered by partition name 'OS' and only this one is being optimized.

Resolving issue: https://github.com/cloudbase/windows-openstack-imaging-tools/issues/248

ader1990 commented 5 years ago

looks good, thank you for the fix.