[17:28] <xnox> cyphermox, cjwatson - a customer is experiencing netisntaller delays. when installing against a local mirror.
[17:28] <cyphermox> ok?
[17:28] <xnox> it would seem to be network related (e.g. failing to connect to e.g. security.ubuntu.com)
[17:29] <xnox> is there a good way to prevent installer talking to anything but local mirror?
[17:29] <xnox> looks like they are timing out on ipv4, then ipv6. connecting to ubuntu.com which is blocked for them (hence installing off local mirror copy)
[17:29] <cjwatson> there are apt-setup preseedables for that
[17:30] <cyphermox> yeah, looking up the actual keys right now
[17:30] <cjwatson> no overarching thing but I believe you can turn off each individual case and there aren't too many
[17:30]  * xnox pull apt-setup sources
[17:30] <cjwatson> apt-setup/security_host or some such
[17:31] <cyphermox> well, you'd need to mirror all of security then too, or point it back to the mirror and expect it to just find no updated sources?
[17:31] <cyphermox> I was thinking apt-setup/services-select-ubuntu
[17:31] <cyphermox> it's a multiselect where I suppose you could just select nothing
[17:32] <cyphermox> oh, maybe I'm not looking at the right thing
[17:33] <cjwatson> or that
[17:33] <cyphermox> nah
[17:33] <cyphermox> it won't work for in the installer, just on the final system
[17:34] <cyphermox> net-retriever won't care
[17:34] <xnox> right. i think for them, they really want to install off a local mirror and have the installed system point to said local mirror too.
[17:35] <cyphermox> you'd need to set apt-set/security_host=local_mirror
[17:36] <xnox> right. let me try that locally. and e.g. point the install at e.g. ftpmaster.internal or some such, and make sure that none of the *.ubuntu.com things are hit.
[17:36] <cyphermox> xnox: to make it pretty I suppose you'd want to do both things, set security_host for within the installer, but also the services-select key to avoid apt-setup writing a long sources.list that references the same mirror multiple times
[17:36] <xnox> then logs should be fast, and i will iterate with the customer, if that helps in their setup.
[17:36] <cyphermox> ok
[17:36] <xnox> cyphermox, i don't think i've ever used services-select key.
[17:37] <xnox> how would that look? at the moment indeed really ugly sources.list ends up being generated.
[17:37] <cyphermox> xnox: me neither, but it's there and I recall from the merge that it's used to pick whether you want partner, security, etc.
[17:43] <cyphermox> d-i apt-setup/services-select-ubuntu none
[17:52] <xnox> right cause i can just have deb http://foo/ xenial xenial-updates xenial-security
[17:52] <xnox> and that's it.
[17:52] <xnox> ok.
[17:52] <xnox> let me try stuff.