Comment 3 for bug 1266504

Revision history for this message
Robie Basak (racb) wrote :

Adam,

> Was curious if this feature is on the roadmap and if so is there an ETA?

Sorry, I must have missed your question when you asked it. I don't have any plans to do anything but urgent maintenance on uvtool right now, but my own time priorities can always be changed if we need to do that inside Canonical.

Mike,

> I'd be happy to propose a branch for this...

Please do!

I don't see anything in cloud-init apart from for apt either. The way I would set http_proxy (and https_proxy, socks_proxy etc) is by appending /etc/environment in the guest from cloud-init. Is there a different mechanism we should be using instead? We can probably organise an append from cloud-init (even if we have to resort to "sh -c \"echo ... >> /etc/environment\"") which should work for subsequent user logins. Perhaps it should be a request to cloud-init to be able to specify environment variables in userdata directly though?

I imagine a basic implementation to set both apt_proxy and arrange for http_proxy, with a more complex implementation to perhaps permit the two to be set independently and/or add https and socks.