update_disks(): added origins of the code.
This commit is contained in:
parent
83074ad501
commit
8c9a9c0802
1 changed files with 2 additions and 1 deletions
|
@ -701,7 +701,8 @@ def deploy_template(vsphere_client, guest, resource_pool, template_src, esxi, mo
|
||||||
msg="Could not clone selected machine: %s" % e
|
msg="Could not clone selected machine: %s" % e
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# example from https://github.com/kalazzerx/pysphere/blob/master/examples/pysphere_create_disk_and_add_to_vm.py
|
||||||
|
# was used.
|
||||||
def update_disks(vsphere_client, vm, module, vm_disk, changes):
|
def update_disks(vsphere_client, vm, module, vm_disk, changes):
|
||||||
request = VI.ReconfigVM_TaskRequestMsg()
|
request = VI.ReconfigVM_TaskRequestMsg()
|
||||||
changed = False
|
changed = False
|
||||||
|
|
Loading…
Reference in a new issue