Merge lp:~jtv/maas/bug-991553 into lp:maas
|Approved by:||Jeroen T. Vermeulen on 2012-05-02|
|Merged at revision:||541|
|Diff against target:||45 lines (+16/-5) 2 files modified|
|To merge this branch:||bzr merge lp:~jtv/maas/bug-991553|
|Related bugs and blueprints:||
Documentation patch: run maas-import-isos with your current http_proxy setting.
Description of the Change
As requested by Julian after contribution from Scott. This updates our documentation for the benefit of people who want to run maas-import-isos from behind an http proxy. Running the script in “sudo” gives it an environment without variables such as http_proxy that you might have set in your shell.
Other ways of doing this would include “sudo su” or “sudo -i” (both of which would create a root login environment, including any http_proxy setting from /etc/profile). But what if you run the script on a server that's not normally supposed to talk http to the outside world? The http_proxy setting might be local to your current shell, or might not normally be set for root. Either way, I think this spelling makes the issue explicit. Even if you simply forgot to set http_proxy, this will remind you to set it.