|
32.
|
|
|
If you are using initrd preseeding, you only have to make sure a file named <filename>preseed.cfg</filename> is included in the root directory of the initrd. The installer will automatically check if this file is present and load it.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:245
|
|
33.
|
|
|
For the other preseeding methods you need to tell the installer what file to use when you boot it. This is normally done by passing the kernel a boot parameter, either manually at boot time or by editing the bootloader configuration file (e.g. <filename>syslinux.cfg</filename>) and adding the parameter to the end of the append line(s) for the kernel.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:252
|
|
34.
|
|
|
If you do specify the preconfiguration file in the bootloader configuration, you might change the configuration so you don't need to hit enter to boot the installer. For syslinux this means setting the timeout to <literal>1</literal> in <filename>syslinux.cfg</filename>.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:260
|
|
35.
|
|
|
To make sure the installer gets the right preconfiguration file, you can optionally specify a checksum for the file. Currently this needs to be a md5sum, and if specified it must match the preconfiguration file or the installer will refuse to use it.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:267
|
|
36.
|
|
|
Boot parameters to specify:
- if you're netbooting:
preseed/url=http://host/path/to/preseed.cfg
preseed/url/checksum=5da499872becccfeda2c4872f9171c3d
- if you're booting a remastered CD:
preseed/file=/cdrom/preseed.cfg
preseed/file/checksum=5da499872becccfeda2c4872f9171c3d
- if you're installing from USB media (put the preconfiguration file in the
toplevel directory of the USB stick):
preseed/file=/hd-media/preseed.cfg
preseed/file/checksum=5da499872becccfeda2c4872f9171c3d
|
|
|
Tag: screen
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:276
|
|
37.
|
|
|
Note that <filename>preseed/url</filename> can be shortened to just <filename>url</filename> and <filename>preseed/file</filename> to just <filename>file</filename> when they are passed as boot parameters.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:278
|
|
38.
|
|
|
Using boot parameters to preseed questions
|
|
|
Tag: title
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:288
|
|
39.
|
|
|
If a preconfiguration file cannot be used to preseed some steps, the install can still be fully automated, since you can pass preseed values on the command line when booting the installer.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:289
|
|
40.
|
|
|
Boot parameters can also be used if you do not really want to use preseeding, but just want to provide an answer for a specific question. Some examples where this can be useful are documented elsewhere in this manual.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:295
|
|
41.
|
|
|
To set a value to be used inside &d-i;, just pass <userinput><replaceable>path/to/variable</replaceable>=<replaceable>value</replaceable></userinput> for any of the preseed variables listed in the examples in this appendix. If a value is to be used to configure packages for the target system, you will need to prepend the <firstterm>owner</firstterm><footnote> <para> The owner of a debconf variable (or template) is normally the name of the package that contains the corresponding debconf template. For variables used in the installer itself the owner is <quote>d-i</quote>. Templates and variables can have more than one owner which helps to determine whether they can be removed from the debconf database if the package is purged. </para> </footnote> of the variable as in <userinput><replaceable>owner</replaceable>:<replaceable>path/to/variable</replaceable>=<replaceable>value</replaceable></userinput>. If you don't specify the owner, the value for the variable will not be copied to the debconf database in the target system and thus remain unused during the configuration of the relevant package.
|
|
|
Tag: para
|
|
|
|
(no translation yet)
|
|
|
|
Located in
preseed.xml:301
|