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.
- To: debian-edu@lists.debian.org
- Subject: 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.
- From: Petter Reinholdtsen <pere@hungry.com>
- Date: Thu, 20 Nov 2014 13:12:30 +0100
- Message-id: <[🔎] 20141120121230.GJ13393@ulrik.uio.no>
- In-reply-to: <E1XrPkS-0004Wf-FL@moszumanska.debian.org>
- References: <20141120111804.17321.6504@moszumanska.debian.org> <E1XrPkS-0004Wf-FL@moszumanska.debian.org>
[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: