From 4c85a8caab0af474d48aa94b87b937ec4625f724 Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Fri, 28 Nov 2014 15:38:05 +0100 Subject: [PATCH] preseed: infos reseau MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit en fait c'est juste pour mémoire, sans impact puisque la configuration réseau est faite avant d'aller chercher le preseed (puisque le preseed est sur le réseau... et que personne n'a encore résolu cette histoire d'oeuf et de poule) --- iso/preseeds/preseed.cfg | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/iso/preseeds/preseed.cfg b/iso/preseeds/preseed.cfg index 0eb528d..ea9c308 100644 --- a/iso/preseeds/preseed.cfg +++ b/iso/preseeds/preseed.cfg @@ -23,7 +23,7 @@ d-i keymap select fr # netcfg will choose an interface that has link if possible. This makes it # skip displaying a list if there is more than one interface. -d-i netcfg/choose_interface select auto +#d-i netcfg/choose_interface select auto # To pick a particular interface instead: #d-i netcfg/choose_interface select eth1 @@ -44,30 +44,32 @@ d-i netcfg/choose_interface select auto # If you want the preconfiguration file to work on systems both with and # without a dhcp server, uncomment these lines and the static network # configuration below. -#d-i netcfg/dhcp_failed note -#d-i netcfg/dhcp_options select Configure network manually +d-i netcfg/dhcp_failed note +d-i netcfg/dhcp_options select Configure network manually # Static network configuration. # # IPv4 example -#d-i netcfg/get_ipaddress string 192.168.1.42 -#d-i netcfg/get_netmask string 255.255.255.0 -#d-i netcfg/get_gateway string 192.168.1.1 -#d-i netcfg/get_nameservers string 192.168.1.1 -#d-i netcfg/confirm_static boolean true +d-i netcfg/get_ipaddress string 192.168.1.42 +d-i netcfg/get_netmask string 255.255.255.0 +d-i netcfg/get_gateway string 192.168.1.1 +d-i netcfg/get_nameservers string 192.168.1.1 +d-i netcfg/confirm_static boolean true # # IPv6 example -#d-i netcfg/get_ipaddress string fc00::2 -#d-i netcfg/get_netmask string ffff:ffff:ffff:ffff:: -#d-i netcfg/get_gateway string fc00::1 -#d-i netcfg/get_nameservers string fc00::1 -#d-i netcfg/confirm_static boolean true +d-i netcfg/get_ipaddress string fc00::2 +d-i netcfg/get_netmask string ffff:ffff:ffff:ffff:: +d-i netcfg/get_gateway string fc00::1 +d-i netcfg/get_nameservers string fc00::1 +d-i netcfg/confirm_static boolean true # Any hostname and domain names assigned from dhcp take precedence over # values set here. However, setting the values still prevents the questions # from being shown, even if values come from dhcp. #d-i netcfg/get_hostname string unassigned-hostname #d-i netcfg/get_domain string unassigned-domain +d-i netcfg/get_hostname string supann +d-i netcfg/get_domain string univ-abcde.fr # If you want to force a hostname, regardless of what either the DHCP # server returns or what the reverse DNS entry for the IP is, uncomment