It turns out that when you are provisioning a disk you must delete the disk that you want to be the parent backing. After this you can point to it using the $device->backing->parent option.
Is it possible to create a linked clone of only a .vmdk file in vmware
-
02-06-2022 - |
Question
I want a programatic way to create a virtual machine with multiple delta.vmdk disks that all point back to an original disk of data. I know you can create clones and snapshots that do this, but I have not figured out how to have the disks all on one machine. Does anyone know if this is possible, and if so, how is it accomplished. I typically use the perl SDK but any pointers would be appreciated.
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow