Quantcast
Channel: VMware Communities : All Content - VMware ESXi 5
Viewing all articles
Browse latest Browse all 18761

vmware-cmd getguestinfo - need values for 'variable'

$
0
0

I am trying to use vMA for automated testing of our NIC card drivers.  An issue I have is we use DHCP in the lab, and if my guest OS is powered off for sometime, it comes back with a different IP.  However, the test cases need the IP to connect to the guest OS.  After investigating, I found that the vMA CLI supports the command:

 

vmware-cmd <conn_option> <config_file_path> getguestinfo <variable>

 

However, no where is 'variable' defined as to what they are.  After using Google I found an example that actually does what I need by using the variable 'ip'.

 

vmware-cmd -H 172.29.49.95 -U rrrr -P xxxxxx /vmfs/volumes/5033e16d-4c278ebf-d220-e4115bb31b66/vMA_Auto1/vMA_Auto1.vmx getguestinfo ip

getguestinfo(ip) = 172.29.52.228

 

Somebody said that 'varaible' is defined in the .vmx file, but that is not true.  The variable 'ip' is not in that file, nor is the IP address in that file.

 

My question is; what are the values for 'variable'?  There might be other values that are useful.

 

 

For example, there is a 'set' version that allows you to change values, if you knew what the 'variable' name is.

 

http://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vcli.ref.doc%2Fvcli-right.html

 

Thank you.


Viewing all articles
Browse latest Browse all 18761

Trending Articles



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