Closed ovidiubuligan closed 8 years ago
Hi @ovidiubuligan,
Just a work around.
Escaping with \ like so http://foo:B\$R@myhost:123 will make environment variables work but not apt.
I have not tested on my environment, but how about following work around.
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.proxy.http = "http://foo:B\\$R@myhost:123/"
config.proxy.https = "http://foo:B\\$R@myhost:123/"
config.apt_proxy.http = "http://foo:B$R@myhost:123/"
config.apt_proxy.https = "http://foo:B$R@myhost:123/"
end
You can override proxy servers for apt. See Configurable applications
Yes , it seams to be enough . Thank you !
This is solved. Ref #130.
there seams to be a problem with $ sign in passwords. I have a proxy url like
http://foo:B$R@myhost:123
and after boot the proxyes are set up correctly for apt but not for environment variables . if i do aprintenv | grep
i gethttp://foo:B$@myhost:123
I think they need to be escaped somehow .Escaping with
\\
like sohttp://foo:B\\$R@myhost:123
will make environment variables work but not apt. Can I work around this somehow ?