added uuid to getallvms sample.
This commit is contained in:
parent
640519e373
commit
6a650ff123
@ -60,6 +60,9 @@ def PrintVmInfo(vm, depth=1):
|
|||||||
print "Name : ", summary.config.name
|
print "Name : ", summary.config.name
|
||||||
print "Path : ", summary.config.vmPathName
|
print "Path : ", summary.config.vmPathName
|
||||||
print "Guest : ", summary.config.guestFullName
|
print "Guest : ", summary.config.guestFullName
|
||||||
|
print "Instance UUID : ", vm.summary.config.instanceUuid
|
||||||
|
print "BIOS UUID : ", vm.summary.config.uuid
|
||||||
|
|
||||||
annotation = summary.config.annotation
|
annotation = summary.config.annotation
|
||||||
if annotation != None and annotation != "":
|
if annotation != None and annotation != "":
|
||||||
print "Annotation : ", annotation
|
print "Annotation : ", annotation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user