| 1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
<?xml version="1.0" encoding="ISO-8859-1"?> |
| 2 |
<!-- original version: 22284 --> |
<!-- original version: 22842 --> |
| 3 |
|
|
| 4 |
<sect1 id="example-preseed"> |
<sect1 id="example-preseed"> |
| 5 |
<title>Preconfiguration File Example</title> |
<title>Exemple de fichier de préconfiguration</title> |
| 6 |
|
|
| 7 |
<para> |
<para> |
| 8 |
|
|
| 9 |
This is a complete working example of a preconfiguration file for an automated |
Ce fichier est un exemple complet et fonctionnel de fichier de |
| 10 |
install. Its use is explained in <xref linkend="automatic-install"/>. You |
préconfiguration pour les installations automatiques. Son usage est expliqué |
| 11 |
may want to uncomment some of the lines before using the file. |
dans <xref linkend="automatic-install"/>. N'hésitez pas à modifier certaines |
| 12 |
|
lignes avant d'utiliser ce fichier. |
| 13 |
</para> |
</para> |
| 14 |
|
|
| 15 |
<informalexample><screen> |
<informalexample><screen> |
|
# d-i preseed file, version 0.1. Copyright 2004 by Joey Hess. |
|
|
# |
|
|
# Use with care! This will make d-i install Debian without warnings or |
|
|
# confirmation. |
|
|
# |
|
|
# THIS SOFTWARE IS PROVIDED BY AUTHORS AND CONTRIBUTORS ``AS IS'' AND |
|
|
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
|
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
|
|
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE |
|
|
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
|
|
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
|
|
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
|
|
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
|
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
|
|
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
# SUCH DAMAGE. In other words, if you destroy your computer with this, it's |
|
|
# your own tough luck. |
|
|
|
|
| 16 |
#### Modification de syslinux.cfg. |
#### Modification de syslinux.cfg. |
| 17 |
|
|
| 18 |
# Éditez le fichier syslinux.cfg, et ajoutez les paramètres après les lignes |
# Éditez le fichier syslinux.cfg, et ajoutez les paramètres après les lignes |
| 340 |
# dans ce cas, un lecteur carte intégré : |
# dans ce cas, un lecteur carte intégré : |
| 341 |
#d-i preseed/include_command string if $(grep -q "GUID: 0aec3050aec305000001a003" /proc/scsi/usb-storage-*/*); then echo kraken.cfg; else echo otherusb.cfg; fi |
#d-i preseed/include_command string if $(grep -q "GUID: 0aec3050aec305000001a003" /proc/scsi/usb-storage-*/*); then echo kraken.cfg; else echo otherusb.cfg; fi |
| 342 |
</screen></informalexample> |
</screen></informalexample> |
|
|
|
| 343 |
</sect1> |
</sect1> |