c961797ac0
Ensure that for each firstterm, we have a proper entry in the glossary: * Use <firstterm baseform="xxx"> if the first term is spelled differently than the glossary entry. * Remove some firstterm markups where no entry is in the glossary and adding one not useful. Change-Id: Id7093a53f9d466db774b548749116288425af581
28 lines
1.5 KiB
XML
28 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<section xml:id="debconf-preseeding"
|
|
xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
|
|
<title>Pre-seed debconf prompts</title>
|
|
<para>You can pre-seed all <systemitem
|
|
class="library">debconf</systemitem> prompts. To pre-seed means
|
|
to store responses in the <package>debconf</package> database so
|
|
that <package>debconf</package> does not prompt the user for
|
|
responses. Pre-seeding enables a hands-free installation for
|
|
users. The package maintainer creates scripts that automatically
|
|
configure the services.</para>
|
|
<para>The following example shows how to pre-seed an automated MySQL
|
|
Server installation:</para>
|
|
<programlisting language="bash">MYSQL_PASSWORD=<replaceable>MYSQL_PASSWORD</replaceable>
|
|
echo "mysql-server-5.5 mysql-server/root_password password ${<replaceable>MYSQL_PASSWORD</replaceable>}
|
|
mysql-server-5.5 mysql-server/root_password seen true
|
|
mysql-server-5.5 mysql-server/root_password_again password ${<replaceable>MYSQL_PASSWORD</replaceable>}
|
|
mysql-server-5.5 mysql-server/root_password_again seen true
|
|
" | debconf-set-selections
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes mysql-server</programlisting>
|
|
<para>The <code>seen true</code> option tells
|
|
<package>debconf</package> that a specified screen was already
|
|
seen by the user so do not show it again. This option is useful
|
|
for upgrades.</para>
|
|
</section>
|