Manually set proxy details for vCSA

If you have ever had to setup a proxy server on the vCenter Server appliance, you will fast run into some limitations when it comes to the username field.For example, our service accounts are named with the “svc_” prefix, which is apparently invalid due to the underscore. The solution? just set the proxy details from the commandline!

  1. SSH to the vCSA</li>
  2. Edit /etc/environment: vi /etc/environment
  3. Modify (or add) the following line: http_proxy=
  4. Save the changes: :wq
  5. Finally, update the environment variable: export http_proxy=''

From there you should be able to get Internet access to download updates. You can test by using wget to fetch a URL. e.g. “wget”