[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.



On Thu, Nov 20, 2014 at 01:12:30PM +0100, Petter Reinholdtsen wrote:
> [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.
 
As far as I was able to find out, 
'mirror/http/mirror select <mirror name>' is expected by d-i to avoid 
manual mirror selection.

Actually, d-i doesn't ask to select the morror out of a presented list 
anymore when the preseed file has been generated using the modified 
script.

Maybe there's a better way to fix it...

Wolfgang

Attachment: signature.asc
Description: Digital signature


Reply to: