Skip to content

Commit 34586b6

Browse files
author
Michael Gasch
authored
Merge pull request #2477 from dougm/update-docs
docs: update govc/USAGE and CONTRIBUTORS
2 parents 90183be + 75eee8e commit 34586b6

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

.mailmap

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
Amanda H. L. de Andrade <[email protected]> Amanda Hager Lopes de Andrade Katz <[email protected]>
23
Amanda H. L. de Andrade <[email protected]> amandahla <[email protected]>
34
@@ -26,6 +27,8 @@ Ian Eyberg <[email protected]> <[email protected]>
2627
2728
Jiatong Wang <[email protected]> jiatongw <[email protected]>
2829
Lintong Jiang <[email protected]> lintongj <[email protected]>
30+
Michael Gasch <[email protected]> Michael Gasch <[email protected]>
31+
Mincho Tonev <[email protected]> matonev <[email protected]>
2932
3033
3134

CONTRIBUTORS

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Alex Ellis (VMware) <[email protected]>
1515
1616
Alvaro Miranda <[email protected]>
1717
Amanda H. L. de Andrade <[email protected]>
18+
1819
Amit Bathla <[email protected]>
1920
amit bezalel <[email protected]>
2021
@@ -29,6 +30,7 @@ Anna Carrigan <[email protected]>
2930
Ariel Chinn <[email protected]>
3031
Arran Walker <[email protected]>
3132
Artem Anisimov <[email protected]>
33+
Arunesh Pandey <[email protected]>
3234
Aryeh Weinreb <[email protected]>
3335
Augy StClair <[email protected]>
3436
Austin Parker <[email protected]>
@@ -48,6 +50,7 @@ Chethan Venkatesh <[email protected]>
4850
Chris Marchesi <[email protected]>
4951
Christian Höltje <[email protected]>
5052
Clint Greenwood <[email protected]>
53+
5154
CuiHaozhi <[email protected]>
5255
Cédric Blomart <[email protected]>
5356
@@ -130,11 +133,14 @@ Matt Moore <[email protected]>
130133
Matt Moriarity <[email protected]>
131134
Matthew Cosgrove <[email protected]>
132135
136+
Merlijn Sebrechts <[email protected]>
133137
Mevan Samaratunga <[email protected]>
134138
Michael Gasch <[email protected]>
135139
Michal Jankowski <[email protected]>
140+
Mincho Tonev <[email protected]>
136141
137142
Nicolas Lamirault <[email protected]>
143+
Nikhil Kathare <[email protected]>
138144
Omar Kohl <[email protected]>
139145
Parham Alvani <[email protected]>
140146
Parveen Chahal <[email protected]>
@@ -163,6 +169,7 @@ Steve Purcell <[email protected]>
163169
SUMIT AGRAWAL <[email protected]>
164170
Takaaki Furukawa <[email protected]>
165171
Tamas Eger <[email protected]>
172+
Tanay Kothari <[email protected]>
166173
167174
Ted Zlatanov <[email protected]>
168175
Thad Craft <[email protected]>

govc/USAGE.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ but appear via `govc $cmd -h`:
292292
- [vapp.destroy](#vappdestroy)
293293
- [vapp.power](#vapppower)
294294
- [vcsa.log.forwarding.info](#vcsalogforwardinginfo)
295+
- [vcsa.net.proxy.info](#vcsanetproxyinfo)
295296
- [version](#version)
296297
- [vm.change](#vmchange)
297298
- [vm.clone](#vmclone)
@@ -2303,14 +2304,20 @@ The guest.run command starts a program in the VM with i/o redirected, waits for
23032304
propagates the exit code to the govc process exit code. Note that stdout and stderr are redirected by default,
23042305
stdin is only redirected when the '-d' flag is specified.
23052306
2307+
Note that vmware-tools requires program PATH to be absolute.
2308+
If PATH is not absolute and vm guest family is Windows,
2309+
guest.run changes the command to: 'c:\\Windows\\System32\\cmd.exe /c "PATH [ARG]..."'
2310+
Otherwise the command is changed to: '/bin/bash -c "PATH [ARG]..."'
2311+
23062312
Examples:
23072313
govc guest.run -vm $name ifconfig
23082314
govc guest.run -vm $name ifconfig eth0
23092315
cal | govc guest.run -vm $name -d - cat
23102316
govc guest.run -vm $name -d "hello $USER" cat
23112317
govc guest.run -vm $name curl -s :invalid: || echo $? # exit code 6
23122318
govc guest.run -vm $name -e FOO=bar -e BIZ=baz -C /tmp env
2313-
govc guest.run -l root:'mypassword' -vm my_vm_hostname "ntpdate -u pool.ntp.org"
2319+
govc guest.run -vm $name -l root:mypassword ntpdate -u pool.ntp.org
2320+
govc guest.run -vm $name powershell C:\\network_refresh.ps1
23142321
23152322
Options:
23162323
-C= The absolute path of the working directory for the program to start
@@ -4917,6 +4924,19 @@ Examples:
49174924
Options:
49184925
```
49194926

4927+
## vcsa.net.proxy.info
4928+
4929+
```
4930+
Usage: govc vcsa.net.proxy.info [OPTIONS]
4931+
4932+
Retrieve the VC networking proxy configuration
4933+
4934+
Examples:
4935+
govc vcsa.net.proxy.info
4936+
4937+
Options:
4938+
```
4939+
49204940
## version
49214941

49224942
```

0 commit comments

Comments
 (0)