[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-edu-commits] debian-edu/ 01/01: sbin/debian-edu-pxeinstall: add 'mirror/http/mirror' (select entry) from the installed system to the preseed file to avoid manual selection during PXE installations.



[Wolfgang Schweer]
> This is an automated email from the git hooks/post-receive script.
> 
> schweer-guest pushed a commit to branch master
> in repository debian-edu-config.
> 
> commit 442fecf14e4991696fdae8a48c04780d7744dc44
> Author: Wolfgang Schweer <wschweer@arcor.de>
> Date:   Thu Nov 20 12:17:34 2014 +0100
> 

> sbin/debian-edu-pxeinstall: add 'mirror/http/mirror' (select entry)
> from the installed system to the preseed file to avoid manual
> selection during PXE installations.

Why did you leave the code below behind in the script.  It is the
existing code setting the proxy, using the preseed file:

echo "Generating $preseedfile"
(
    cat <<EOF
# Enable the Debian Edu installer overrides
d-i     anna/choose_modules     multiselect     debian-edu-install-udeb: Execute Debian-Edu debian-installer profile

# Just accept the proposed hostname and domain, as it is dynamically
# fetched from DNS.
d-i     netcfg/get_hostname     seen    true
d-i     netcfg/get_domain       seen    true

# location of the proxies, in case it is required, both http and ftp
# in case someone ask d-i to use ftp mirrors.
d-i     mirror/http/proxy       string  $http_proxy
d-i     mirror/ftp/proxy        string  $ftp_proxy

Is this code no longer working?  I suspect your fix is hiding some
other problem in the installer.

The idea with setting proxy this way was to make sure the current
proxy setting when calling debian-edu-pxeinstall is used (if the
script is called after installation), instead of the value that was
active when the machine was installed.

-- 
Happy hacking
Petter Reinholdtsen


Reply to: