Tuesday, November 16, 2010

VMware ESX 3 – use lwp-download to grab files

If you need to download an iso file from a ESX 3.x console, you can use the command lwp-download.

First http port must be opened at firewall level:
esxcfg-firewall -o 80,tcp,out,http

Then you can get a file with the command:
lwp-download <url> [<localfilename>]

And finally you should close http port at firewall level:
esxcfg-firewall -c 80,tcp,out,http

No comments:

Post a Comment