pyvmomi-community-samples
pyvmomi-community-samples copied to clipboard
A place for community contributed samples for the pyVmomi library.
### Describe the bug In this example: https://github.com/vmware/pyvmomi-community-samples/blob/master/samples/add_vm_nic_to_dvs.py When connect VM VNIC to a DVPG of DVS, we first try to get a free port. That is not necessary. Auto...
### Is your feature request related to a problem? Please describe. I cannot set the computer name (host name) when cloning a VM from a template, so the cloned VM...
### Is your feature request related to a problem? Please describe. Hey everybody, I would like to see an example of how to set up (global) environment variables on the...
By default upon removing a disk ESXi just leaves out the file that was used for the disk. At my work we just had a problem of having HUNDREDs of...
### Is your feature request related to a problem? Please describe. In VMware PowerCLI I can retrieve very quick with get-view with -filter and -property data from our large vCenter....
### Is your feature request related to a problem? Please describe. Hi, I can get the offset and length of a device for changed data using the method queryChangedDiskAreas with...
Hi guys! Unable to migrate Centos7.0 template from 172.16.132.18 to 172.16.132.35 and resource pool Resources: Unable to access virtual machine configuration: Unable to access file [datastore-132.33] 172.16.132.18 and 172.16.132.35 belong...
I export an OVA from VSphere Web Client tar xf file.ova ./deploy_ovf.py -s XX -u XX --datacenter_name XX--datastore_name XX --cluster_name XX -v *.vmdk -f *.ovf Warnings during processing: (vmodl.MethodFault) [...
### Is your feature request related to a problem? Please describe. Hi, It looks like vSphere doesn't inherently store the information about who created a specific snapshot. This information is...
I carefully read some of the related samples. It has `add_disk_to_vm.py` and `add_nic_to_vm.py` However, can I create a vm with a disk and a nic ? in `create_random_marvel_vms.py` it does...