Skip to content

Commit

Permalink
Merge pull request #2477 from dougm/update-docs
Browse files Browse the repository at this point in the history
docs: update govc/USAGE and CONTRIBUTORS
  • Loading branch information
Michael Gasch authored Jun 3, 2021
2 parents 90183be + 75eee8e commit 34586b6
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
amanpaha <[email protected]> amanpaha <[email protected]>
Amanda H. L. de Andrade <[email protected]> Amanda Hager Lopes de Andrade Katz <[email protected]>
Amanda H. L. de Andrade <[email protected]> amandahla <[email protected]>
Amit Bathla <[email protected]> <[email protected]>
Expand Down Expand Up @@ -26,6 +27,8 @@ Ian Eyberg <[email protected]> <[email protected]>
Jeremy Canady <[email protected]> <[email protected]>
Jiatong Wang <[email protected]> jiatongw <[email protected]>
Lintong Jiang <[email protected]> lintongj <[email protected]>
Michael Gasch <[email protected]> Michael Gasch <[email protected]>
Mincho Tonev <[email protected]> matonev <[email protected]>
Parveen Chahal <[email protected]> <[email protected]>
Pieter Noordhuis <[email protected]> <[email protected]>
Saad Malik <[email protected]> <[email protected]>
Expand Down
7 changes: 7 additions & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Alex Ellis (VMware) <[email protected]>
Aligator <[email protected]>
Alvaro Miranda <[email protected]>
Amanda H. L. de Andrade <[email protected]>
amanpaha <[email protected]>
Amit Bathla <[email protected]>
amit bezalel <[email protected]>
Andrew <[email protected]>
Expand All @@ -29,6 +30,7 @@ Anna Carrigan <[email protected]>
Ariel Chinn <[email protected]>
Arran Walker <[email protected]>
Artem Anisimov <[email protected]>
Arunesh Pandey <[email protected]>
Aryeh Weinreb <[email protected]>
Augy StClair <[email protected]>
Austin Parker <[email protected]>
Expand All @@ -48,6 +50,7 @@ Chethan Venkatesh <[email protected]>
Chris Marchesi <[email protected]>
Christian Höltje <[email protected]>
Clint Greenwood <[email protected]>
cpiment <[email protected]>
CuiHaozhi <[email protected]>
Cédric Blomart <[email protected]>
Dan Ilan <[email protected]>
Expand Down Expand Up @@ -130,11 +133,14 @@ Matt Moore <[email protected]>
Matt Moriarity <[email protected]>
Matthew Cosgrove <[email protected]>
mbhadale <[email protected]>
Merlijn Sebrechts <[email protected]>
Mevan Samaratunga <[email protected]>
Michael Gasch <[email protected]>
Michal Jankowski <[email protected]>
Mincho Tonev <[email protected]>
mingwei <[email protected]>
Nicolas Lamirault <[email protected]>
Nikhil Kathare <[email protected]>
Omar Kohl <[email protected]>
Parham Alvani <[email protected]>
Parveen Chahal <[email protected]>
Expand Down Expand Up @@ -163,6 +169,7 @@ Steve Purcell <[email protected]>
SUMIT AGRAWAL <[email protected]>
Takaaki Furukawa <[email protected]>
Tamas Eger <[email protected]>
Tanay Kothari <[email protected]>
tanishi <[email protected]>
Ted Zlatanov <[email protected]>
Thad Craft <[email protected]>
Expand Down
22 changes: 21 additions & 1 deletion govc/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ but appear via `govc $cmd -h`:
- [vapp.destroy](#vappdestroy)
- [vapp.power](#vapppower)
- [vcsa.log.forwarding.info](#vcsalogforwardinginfo)
- [vcsa.net.proxy.info](#vcsanetproxyinfo)
- [version](#version)
- [vm.change](#vmchange)
- [vm.clone](#vmclone)
Expand Down Expand Up @@ -2303,14 +2304,20 @@ The guest.run command starts a program in the VM with i/o redirected, waits for
propagates the exit code to the govc process exit code. Note that stdout and stderr are redirected by default,
stdin is only redirected when the '-d' flag is specified.
Note that vmware-tools requires program PATH to be absolute.
If PATH is not absolute and vm guest family is Windows,
guest.run changes the command to: 'c:\\Windows\\System32\\cmd.exe /c "PATH [ARG]..."'
Otherwise the command is changed to: '/bin/bash -c "PATH [ARG]..."'
Examples:
govc guest.run -vm $name ifconfig
govc guest.run -vm $name ifconfig eth0
cal | govc guest.run -vm $name -d - cat
govc guest.run -vm $name -d "hello $USER" cat
govc guest.run -vm $name curl -s :invalid: || echo $? # exit code 6
govc guest.run -vm $name -e FOO=bar -e BIZ=baz -C /tmp env
govc guest.run -l root:'mypassword' -vm my_vm_hostname "ntpdate -u pool.ntp.org"
govc guest.run -vm $name -l root:mypassword ntpdate -u pool.ntp.org
govc guest.run -vm $name powershell C:\\network_refresh.ps1
Options:
-C= The absolute path of the working directory for the program to start
Expand Down Expand Up @@ -4917,6 +4924,19 @@ Examples:
Options:
```

## vcsa.net.proxy.info

```
Usage: govc vcsa.net.proxy.info [OPTIONS]
Retrieve the VC networking proxy configuration
Examples:
govc vcsa.net.proxy.info
Options:
```

## version

```
Expand Down

0 comments on commit 34586b6

Please sign in to comment.