vmware-archive / rvc

RVC is a Linux console UI for vSphere, built on the RbVmomi bindings to the vSphere API.
MIT License
240 stars 48 forks source link

vm.rvc #57

Open pkirklewski opened 12 years ago

pkirklewski commented 12 years ago

Hi there. Where can I find an explanation / documentation and usage examples for vm.rvc command please ?

/10.10.10.100/ha-datacenter/vm> vm.rvc www001bri no IP known for this VM

Here is what I need and I eander would it be possible from within rvc: http://communities.vmware.com/thread/417043

/10.10.10.100/ha-datacenter/vm> help vm.rvc usage: rvc [opts] vm Options: --help, -h: Show this message RVC to a VM vm: Path to a VirtualMachine --user, -u : Username

cdickmann commented 12 years ago

RVC runs against the vSphere API, it doesn't provide in-guest tools for detecting the environment. I am not sure how they are at all related.

But to answer your question: If you turn on the "vApp/OVF environment" in the vSphere Client for your VM, then there is a command to query that environment from inside the VM. Google for "Query OVF environment", maybe combined with "VMware tools".