Quantcast
Channel: VMware Communities : Discussion List - VMware {code}
Viewing all articles
Browse latest Browse all 2738

How to expend disk capacity - https://github.com/vmware/vsphere-automation-sdk-python/blob/master/samples/vsphere/vcenter/vm/hardware/disk.py

$
0
0

Hi, there.

 

I am new to the community and I am trying to create VM from template in local content library. Modify the sample code with my own specific details. It all works and change CPU and memory work too. But I can't find a way to expand the size of my virtual hard disk. The sample at vsphere-automation-sdk-python/disk.py at master · vmware/vsphere-automation-sdk-python · GitHub seems to be able to remove a disk and add one with the size I want. However, I lost the OS installed on that disk. Is there anyway to just expand the disk not remove and add new one?

 

Thanks.

 

Jane


Viewing all articles
Browse latest Browse all 2738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>