summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2014-11-28 14:38:05 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2014-11-28 14:38:05 (GMT)
commit4c85a8caab0af474d48aa94b87b937ec4625f724 (patch)
treee95800b30dd5058f89d0e4ddde0cd57deccdf976
parent74d7a63439d4bab22038aee1dd1f116484066113 (diff)
downloadgi-psl-4c85a8caab0af474d48aa94b87b937ec4625f724.zip
gi-psl-4c85a8caab0af474d48aa94b87b937ec4625f724.tar.gz
gi-psl-4c85a8caab0af474d48aa94b87b937ec4625f724.tar.bz2
preseed: infos reseau
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)
-rw-r--r--iso/preseeds/preseed.cfg28
1 files 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