I have a VM with two disks, and I'd like to set the system disk to be non-persistent after it's finished being customized. What's the best way to do this in a script? I've found System.getModule("com.vmware.library.vc.vm").setDiskToNonPersitent(vm), but that changes all the disks, when I just want to change one of them.
↧