mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
This commit updates add_disk to remove propertyCollector, which was used to back the find_vmdks method to locate the disk file on datastore and then use its length to name the new disk. Instead, the number of disks on the VM is used to ensure a unique disk resource title. Without this change add_disk can take 10-50x longer due to the propertyCollector method. Additionally, without this change propertyCollector is used in a non threadsafe manner, which may cause stability issues for vsphere provider backends. |
||
|---|---|---|
| .. | ||
| vmpooler | ||
| vmpooler.rb | ||