Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

i'm using approx as a apt proxy in our network. It's still working. Now I try to install 12.04 using a preseed file. This ist the section for the mirror:

d-i     mirror/country  string  manual
d-i     mirror/protocol string  http
d-i     mirror/http/countries   string  manual
d-i     mirror/http/proxy       string 
d-i     mirror/http/hostname    string tjener:9999
d-i     mirror/http/directory   string /ubuntu
d-i     mirror/suite            string precise
d-i     mirror/udeb/suite       string precise
d-i     mirror/udeb/components  multiselect main, restricted

Where tjener is the server. But it's not working. During installation http://gb.archive.ubuntu.com/ubuntu is used. After installation in the source.list http://archive.ubuntu.com/ubuntu is used. If i change gb.archive.ubuntu.com to tjener:9999 approx is used, so it's working.

The preseed settings work for 10.04 but not for 12.04. Can anybody help me.

Thank, you

share|improve this question
add comment

1 Answer

Should you not add the proxy URL after d-i mirror/http/proxy string, that is if the proxy is need to access the internal mirror

FYI the exact config I use is as follows, the installation clients have no internet access but can reach the mirror:

d-i mirror/country string manual
d-i mirror/http/hostname string mymirror.org
d-i mirror/http/directory string /rep
d-i mirror/http/proxy string
d-i mirror/http/mirror select mymirror.org

Change mymirror.org and /rep for your site...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.