I'm attempting to get a SmartOS box working behind a corporate firewall,
but with no joy which seems to be traceable to proxy support.

I found this, which seemed to be fixed some months ago:
https://github.com/joyent/smartos-live/issues/120

Running SmartOS Live Image v0.147+ build: 20150903T073920Z, downloaded
yesterday.  Environment variables http_proxy and https_proxy are set in
/root/.bashrc (do they need to be set elsewhere), and work fine for running
wget, and curl works with --proxy -p

root@ml ~ $ imgadm avail
imgadm avail: error (InternalError): tunneling socket could not be
established, cause=connect ECONNREFUSED

whereas images.joyent.com is definitely reachable:

root@ml ~ $ curl --insecure -i -p --proxy proxy.mycorp.com:80
https://images.joyent.com
HTTP/1.0 200 Connection established

HTTP/1.1 301 Moved Permanently
...

Is there some other place to tell imgadm about the proxy?

Meanwhile I've downloaded a base64 image to work with and installed it
manually, but I'm guessing I can expect similar problems in zones with
other tools, so it would be nice to clear this up.

Thanks,

Tim

-- 
http://timboudreau.com



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to