Az előírás módot ad a telepítő alatt feltett kérdésekre adott válaszok beállítására, anélkül, hogy ezeket kézzel kellene megadni a telepítés alatt. Ez lehetővé teszi a legtöbb telepítés teljes automatizálását, sőt a sima telepítésben el nem érhető lehetőségeket is ad.
Preseeding is not required. If you use an empty preseed file, the installer will behave just the same way as in a normal manual installation. Each question you preseed will (if you got it right!) modify the installation in some way from that baseline.
Három mód használható előírásra: az initrd, a fájl és a hálózati mód. Az initrd mód minden telepítő móddal működik és a legtöbb dolog előírását támogatja, de a legtöbb előkészületet igényli. A fájl és hálózati előírás eltérő telepítő módokkal használható.
Az alábbi tábla mutatja, mely előíró mód mely telepítő móddal használható.
Telepítő mód | initrd | fájl | hálózat |
---|---|---|---|
CD/DVD/USB | igen | igen | igen[a] |
netboot | igen | nem | igen |
hd-media (usb-tárral is) | igen | igen | yes[a] |
[a] de csak hálózati eléréssel, és a |
An important difference between the preseeding methods is the point at which the preconfiguration file is loaded and processed. For initrd preseeding this is right at the start of the installation, before the first question is even asked. Preseeding from the kernel command line happens just after. It is thus possible to override configuration set in the initrd by editing the kernel command line (either in the bootloader configuration or manually at boot time for bootloaders that allow it). For file preseeding this is after the installation image has been loaded. For network preseeding it is only after the network has been configured.
![]() |
Fontos |
---|---|
Obviously, any questions that have been processed before the preconfiguration file is loaded cannot be preseeded (this will include questions that are only displayed at medium or low priority, like the first hardware detection run). A not so convenient way to avoid these questions from being asked is to preseed them through the boot parameters, as described in B.2.2. szakasz - Indító paraméterek használata kérdések előírt válaszára. In order to easily avoid the questions that would normally appear before the preseeding occurs, you can start the installer in „auto” mode. This delays questions that would normally be asked too early for preseeding (i.e. language, country and keyboard selection) until after the network comes up, thus allowing them to be preseeded. It also runs the installation at critical priority, which avoids many unimportant questions. See B.2.3. szakasz - Automata mód for details. |