-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Ubuntu 14.04 uses US mirror by default #810
Comments
It's been discussed herehttps://github.com//issues/195 - the tl;dr is that there isn't a holistic solution that works for everyone so customizing the boxes after the fact or forking the packer templates are the recommended option. We are open to an implementation but it will need to be better than what we currently have as this is optimized for us [me] building these. |
It seems that #195 discussed two different approaches:
The latter includes random third-party mirrors that from reading stack overflow seem to be less reliable, and unfortunately the discussion in #195 focused on this part, so understandably was wontfixed. However the former maps to the more-official As such, perhaps they are more viable? Though I wonder if this is something that should be changed upstream in the Ubuntu images themselves? |
That's kinda the kicker that you mention, this should largely be fixed upstream ideally and as such there is a limited amount we the Bento team can do here. We're happy to update the templates to be more flexible but our hosted builds will almost definitely remain US centric for the time being. |
Hmm so digging into this more, I don't think this is really an upstream issue. The
(See: https://help.ubuntu.com/lts/installation-guide/example-preseed.txt) So it's really this image's choice of preseed options that are causing the US mirrors to be set instead of the generic ones that will resolve to whatever is most appropriate for the end user. The mirror choice can be overridden via preseed (rather than having to edit bento/http/debian-8/preseed.cfg Lines 10 to 13 in 3869bda
Also, as a point of reference, the official Ubuntu Docker images use
As such, I think it makes sense to do this - I'll open a PR. |
The Ubuntu 14.04 box refers to the US archive for Ubuntu.
According to https://askubuntu.com/a/104701/963 it is possible to refer to a common archive.ubuntu.com which will then resolve:
Open your
source.list
using your favorite text editor, ielocate
http://us.archive.ubuntu.com/ubuntu
and replace it withhttp://archive.ubuntu.com/ubuntu
.Has this been considered?
The text was updated successfully, but these errors were encountered: