-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
APT_PROXY empty value #10
Comments
Maybe this proxy variable is enforced cause the instructions suggest you to install https://github.com/michaelfranzl/rpi23-gen-image#set-up-caching-for-apt It is zero configuration as this readme states. Install apt-proxy-ng to make localcache of all packages downloaded, so you dont have get all again whenever you need to create a new image,. |
Yes, I read the README. But I do not want to use And this line:
seems to suggest that if I leave the variable empty, the default value will be |
Edit the rpi23-gen-image.sh and look for APT_PROXY and change it to as follows: APT_PROXY=${APT_PROXY:=""} |
I fixed this for myself the second I found the bug. The point of this bug report is that it's fixed for others who may not want/be able to read (ba)sh. |
…g the script. Updated README and example.sh
Hey,
I use no proxy to connect to the internet, and according to the README the proxy is unset by default. However,
10-bootstrap.sh
still fails:Notice the
http_proxy
being set. So I try to overwrite the proxy by settingAPT_PROXY=""
, but that doesn't help either, because of this line:If
APT_PROXY
is set but empty, it will be still set to localhost:3142. Check out this simplified example:The text was updated successfully, but these errors were encountered: