installation with proxy auth not working

Bug #1493889 reported by Markus on 2015-09-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone
choose-mirror (Ubuntu)

Bug Description

I want to kickstart an installation behind a proxy, but its not working. Though wget, seems to accept the proxy configuration, choose-mirror does not succeed.

Following, my pxe-configuration is (note that i need to authenticate against the proxy which is not described in the above link):

append ks= vga=normal initrd=ubuntu14_04/initrd.gz ramdisk_size=16432 root=/dev/rd/0 http_proxy=http://ossproxy:password@ rw

ks.cfg is:
url --url

The installation stops with an error, syslog is saying:
... choose-mirror: DEBUG: command: wget --no-verbose -O - | ...
... choose-mirror: WARNING **: mirror does not support the specified release (trusty)

But: switching to shell via <strg> + <alt> + <f2> and issuing the wget command:
wget --no-verbose -O -
everything works fine, hence proxy is properly set.
The problem seems to be that choose-mirror can't handle a Proxy with authentication.

Also, doing an installation without proxy works fine.
But, as I need 50+ computers behind the proxy, this is not an option.

So, am I missing something? What can I do? Modify initrd?

Markus (sysadmin-a) on 2015-09-09
affects: kickseed (Ubuntu) → choose-mirror (Ubuntu)
Markus (sysadmin-a) wrote :

Problem solved. You have to use
preseed mirror/http/proxy string http://<username>:<password>@
inside the ks.cfg, not setting
APPEND http_proxy=""
as suggested by the wiki

I updated the wiki.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers