diff options
author | Frans Pop <elendil@planet.nl> | 2006-07-03 12:19:40 +0000 |
---|---|---|
committer | Frans Pop <elendil@planet.nl> | 2006-07-03 12:19:40 +0000 |
commit | ec7c3ff9efa195b06d61f360892d39d8b488be69 (patch) | |
tree | f15b1591d96055e673bd624472120f4443ed3ca4 /en/appendix/preseed.xml | |
parent | e5f1547c59833c55070fb7cb337889ae8ce3e636 (diff) | |
download | installation-guide-ec7c3ff9efa195b06d61f360892d39d8b488be69.zip |
Move Stapper's preseed/run hack from example to main text and improve explanation
Diffstat (limited to 'en/appendix/preseed.xml')
-rw-r--r-- | en/appendix/preseed.xml | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/en/appendix/preseed.xml b/en/appendix/preseed.xml index 1c3916d24..8e75eafa9 100644 --- a/en/appendix/preseed.xml +++ b/en/appendix/preseed.xml @@ -610,6 +610,21 @@ If you need to pick a particular interface when netbooting before loading a preconfiguration file from the network, use a boot parameter such as <userinput>interface=<replaceable>eth1</replaceable></userinput>. +</para><para> + +Although preseeding the network configuration is normally not possible when +using network preseeding (using <quote>preseed/url</quote>), you can use +the following hack to work around that, for example if you'd like to set a +static address for the network interface. The hack is to force the network +configuration to run again after the preconfiguration file has been loaded +by creating a <quote>preseed/run</quote> script containing the following +lines: + +<informalexample><screen> +killall.sh dhclient +netcfg +</screen></informalexample> + </para> <informalexample role="example"><screen> @@ -640,12 +655,6 @@ d-i netcfg/choose_interface select auto #d-i netcfg/get_netmask string 255.255.255.0 #d-i netcfg/get_gateway string 192.168.1.1 #d-i netcfg/confirm_static boolean true -# To make it also work for "preseed/url" -# you have to run `netcfg` a second time, -# while `dhclient` is not running. -# Add to your "preseed/run" script these lines: -#killall.sh dhclient -#netcfg # Any hostname and domain names assigned from dhcp take precedence over # values set here. However, setting the values still prevents the questions |