diff options
Diffstat (limited to 'ja/appendix/preseed.xml')
-rw-r--r-- | ja/appendix/preseed.xml | 649 |
1 files changed, 425 insertions, 224 deletions
diff --git a/ja/appendix/preseed.xml b/ja/appendix/preseed.xml index 0d1a8b1b1..d76dc595b 100644 --- a/ja/appendix/preseed.xml +++ b/ja/appendix/preseed.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="EUC-JP"?> <!-- retain these comments for translator revision tracking --> -<!-- original version: 42036 --> +<!-- original version: 42982 --> <!-- Be carefull with the format of this file as it is parsed to generate @@ -30,10 +30,10 @@ Currently only a single variant of the example file is generated (for i386). <para> <!-- -This appendix explains the intricacies of preseeding answers to questions in -&d-i; to automate your installation. +This appendix explains how to preseed answers to questions in &d-i; to +automate your installation. --> -ËÜÉÕÏ¿¤Ï preseed ¤ÎÀâÌÀ¤ò¹Ô¤¤¤Þ¤¹¡£ +ËÜÉÕÏ¿¤Ï preseed ¤ÎÊýË¡¤òÀâÌÀ¤·¤Þ¤¹¡£ ¤³¤ì¤Ï &d-i; ¤Î¼ÁÌä¤Ë²óÅú¤·¤Æ¤ª¤¥¤¥ó¥¹¥È¡¼¥ë¤ò¼«Æ°²½¤¹¤ë¤â¤Î¤Ç¤¹¡£ </para><para> @@ -81,9 +81,7 @@ There are three methods that can be used for preseeding: <firstterm>network</firstterm>. Initrd preseeding will work with any installation method and supports preseeding of more things, but it requires the most preparation. File and network preseeding each can be used with -different installation methods. With file and network preseeding the first -few installer questions cannot be preseeded because the preconfiguration -file is only loaded after they have been asked. +different installation methods. --> preseed ¤òÍøÍѤ¹¤ë¤Ë¤Ï¡¢ <firstterm>initrd</firstterm>, <firstterm>¥Õ¥¡¥¤¥ë</firstterm>, @@ -92,9 +90,6 @@ initrd preseed ¤Ï¡¢¤¤¤º¤ì¤Î¥¤¥ó¥¹¥È¡¼¥ëÊýË¡¤Ç¤âÆ°ºî¤·¡¢ ¤è¤ê¿¤¯¤Î preseed ¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¤¬¡¢ÂçÎ̤νàÈ÷¤¬É¬ÍפǤ¹¡£ ¥Õ¥¡¥¤¥ë preseed ¤ä¥Í¥Ã¥È¥ï¡¼¥¯ preseed ¤Ï¡¢ ¤½¤ì¤¾¤ì¥¤¥ó¥¹¥È¡¼¥ëÊýË¡¤¬°Û¤Ê¤ë¾ì¹ç¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£ -¥Õ¥¡¥¤¥ë preseed ¤ä¥Í¥Ã¥È¥ï¡¼¥¯ preseed ¤Ç¤Ï¡¢ -»öÁ°ÀßÄê¥Õ¥¡¥¤¥ë¤¬Æɤ߹þ¤Þ¤ì¤ëÁ°¤Ë¤¤¤¯¤Ä¤«¼ÁÌ䤵¤ì¤Æ¤·¤Þ¤¦¤¿¤á¡¢ -¤½¤Î¼ÁÌä¤ò preseed ¤Ë´Þ¤á¤ë¤³¤È¤¬¤Ç¤¤Þ¤»¤ó¡£ </para><para> @@ -122,7 +117,18 @@ installation methods. <entry>CD/DVD</entry> <entry>yes</entry> <entry>yes</entry> - <entry>no</entry> + <entry>yes<footnote id='apx-ps-net'> + + <para> +<!-- + but only if you have network access, and set <literal>preseed/url</literal> + appropriately +--> + ¥Í¥Ã¥È¥ï¡¼¥¯¥¢¥¯¥»¥¹¤ò¹Ô¤¦¾ì¹ç¤À¤±¤Ç¤Ê¤¯¡¢ + ŬÀÚ¤Ê <literal>preseed/url</literal> ¤òÀßÄꤹ¤ë¾ì¹ç¡£ + </para> + + </footnote></entry> </row><row> <entry>netboot</entry> <entry>yes</entry> @@ -135,7 +141,7 @@ installation methods. <entry>hd-media <phrase condition="bootable-usb">(USB ¥¹¥Æ¥£¥Ã¥¯¤ò´Þ¤à)</phrase></entry> <entry>yes</entry> <entry>yes</entry> - <entry>no</entry> + <entry>yes<footnoteref linkend='apx-ps-net'/></entry> </row><row condition="supports-floppy-boot"> <!-- <entry>floppy based (cd-drivers)</entry> @@ -143,7 +149,7 @@ installation methods. <entry>¥Õ¥í¥Ã¥Ô¡¼¥Ù¡¼¥¹ (CD ¥É¥é¥¤¥Ð)</entry> <entry>yes</entry> <entry>yes</entry> - <entry>no</entry> + <entry>yes<footnoteref linkend='apx-ps-net'/></entry> </row><row condition="supports-floppy-boot"> <!-- <entry>floppy based (net-drivers)</entry> @@ -183,32 +189,38 @@ initrd preseed ¤Ç¤Ï¡¢¥¤¥ó¥¹¥È¡¼¥ë¤Î»Ï¤á (ºÇ½é¤Î¼ÁÌ䤬¹Ô¤ï¤ì¤ëÁ°) ¤ËÆɤ߹þ¤Þ¤ì¤Þ¤ </para><para> <!-- -In practical terms this means for file and network preseeding that the -questions about language, country and keyboard selection will already have -been asked. For network preseeding add to that any questions related to -network configuration. Some other questions that are only displayed -at medium or low priority (like the first hardware detection run) will -also already have been processed. ---> -¼ÂºÝ¤ÎÏäò¤¹¤ë¤È¡¢¥Õ¥¡¥¤¥ë preseed ¤ä¥Í¥Ã¥È¥ï¡¼¥¯ preseed ¤Ç¤Ï¡¢ -¸À¸ì¡¢¹ñ¡¢¥¡¼¥Ü¡¼¥É¤ÎÁªÂò¤Ë¤Ä¤¤¤Æ¼ÁÌä¤Ï¡¢´û¤Ë¤µ¤ì¤Æ¤·¤Þ¤Ã¤Æ¤¤¤Þ¤¹¡£ -¥Í¥Ã¥È¥ï¡¼¥¯ preseed ¤Ç¤Ï¡¢¤½¤³¤Ë¥Í¥Ã¥È¥ï¡¼¥¯¤ÎÀßÄê¤Ë¤Ä¤¤¤Æ¤â²Ã¤¨¤Æ¤¯¤À¤µ¤¤¡£ -¤½¤Î¾¡¢Í¥ÀèÅÙ¤¬¡ÖÃæ¡×¤ä¡ÖÄã¡×¤Ç¤·¤«É½¼¨¤µ¤ì¤Ê¤¤¼ÁÌä -(¤Ï¤¸¤á¤Î¥Ï¡¼¥É¥¦¥§¥¢¸¡½Ð¤Ê¤É) ¤Ï¡¢´û¤Ë½èÍý¤µ¤ì¤Æ¤·¤Þ¤Ã¤Æ¤¤¤Þ¤¹¡£ - -</para><para> - -<!-- Obviously, any questions that have been processed before the -preconfiguration file is loaded cannot be preseeded. -<xref linkend="preseed-bootparms"/> offers a way to avoid these -questions being asked. +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). <xref linkend="preseed-bootparms"/> +offers a way to avoid these questions being asked. --> ¸À¤¦¤Þ¤Ç¤â¤Ê¤¯¡¢»öÁ°ÀßÄê¥Õ¥¡¥¤¥ë¤¬Æɤ߹þ¤Þ¤ì¤ëÁ°¤Ë½èÍý¤µ¤ì¤ë¼ÁÌä¤Ï¡¢ preseed ¤Ç¤¤Þ¤»¤ó¡£ +(ºÇ½é¤Î¥Ï¡¼¥É¥¦¥§¥¢¸¡½Ð¤Î¤è¤¦¤Ë¡¢ +Í¥ÀèÅÙ¤¬Ãæ¤äÄã¤Ç¤·¤«É½¼¨¤µ¤ì¤Ê¤¤¼ÁÌä¤â´Þ¤ó¤Ç¤¤¤Þ¤¹) <xref linkend="preseed-bootparms"/> ¤Ç¤Ï¡¢ ¤½¤¦¤¤¤Ã¤¿¼ÁÌ䤬½Ð¤Ê¤¤¤è¤¦¤Ë¤¹¤ëÊýË¡¤òÄ󶡤·¤Æ¤¤¤Þ¤¹¡£ +</para><para> + +<!-- +In order to avoid the questions that would normally appear before the +preseeding occurs, you can start the installer in <quote>auto</quote> +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 in crtitical priority, which avoids many unimportant +questions. See <xref linkend="preseed-auto"/> for details. +--> +preseed ¤¬µ¯Æ°¤¹¤ëÁ°¤Ë¡¢Ä̾︽¤ì¤ë¼ÁÌä¤ò²óÈò¤¹¤ë¤Î¤Ë¡¢ +<quote>¼«Æ°</quote> ¥â¡¼¥É¤Ç¥¤¥ó¥¹¥È¡¼¥é¤òµ¯Æ°¤Ç¤¤Þ¤¹¡£ +¤³¤ì¤Ë¤è¤ê¥Í¥Ã¥È¥ï¡¼¥¯¤ÎÀßÄ꤬½ª¤ï¤ë¤Þ¤Ç¡¢preseed ¤ÎÁ°¤Ë¹Ô¤ï¤ì¤ë¼ÁÌä +(¸À¸ì¡¢¹ñ¡¢¥¡¼¥Ü¡¼¥ÉÁªÂò¤Ê¤É) ¤òÃ٤餻¡¢preseed ¤Ë¤½¤Î¼ÁÌä¤ò´Þ¤á¤é¤ì¤Þ¤¹¡£ +¤Þ¤¿¡¢¥¤¥ó¥¹¥È¡¼¥ë¤ÎÍ¥ÀèÅÙ¤òºÇ½ÅÍפǹԤ¦¤¿¤á¡¢ +ÂçÎ̤ˤ¢¤ë½ÅÍפǤʤ¤¼ÁÌä¤ò²óÈò¤Ç¤¤Þ¤¹¡£ +¾ÜºÙ¤Ï <xref linkend="preseed-auto"/> ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£ + </para> </sect2> @@ -223,14 +235,13 @@ preseed ¤Ç¤¤Þ¤»¤ó¡£ Although most questions used by &d-i; can be preseeded using this method, there are some notable exceptions. You must (re)partition an entire disk or use available free space on a disk; it is not possible to use existing -partitions. You currently cannot use preseeding to set up RAID. +partitions. --> &d-i; ¤Ç¹Ô¤ï¤ì¤ë¼ÁÌä¤Î¤Û¤È¤ó¤É¤Ï¤³¤ÎÊýË¡¤Ç preseed ¤Ç¤¤Þ¤¹¤¬¡¢ ¤¤¤¯¤Ä¤«ÃíÌܤ¹¤Ù¤Îã³°¤¬¤¢¤ê¤Þ¤¹¡£ ¥Ç¥£¥¹¥¯Á´ÂΤò (ºÆÅÙ) ¥Ñ¡¼¥Æ¥£¥·¥ç¥óʬ³ä¤¹¤ë¤«¡¢ ¥Ç¥£¥¹¥¯¤Î¶õ¤Îΰè¤òÍøÍѤ·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¤Ä¤Þ¤ê´û¸¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òÍøÍѤǤ¤Ê¤¤¤È¸À¤¦¤³¤È¤Ç¤¹¡£ -¤Þ¤¿¸½ºß¡¢RAID ¤Î¥»¥Ã¥È¥¢¥Ã¥×¤Ë preseed ¤òÍøÍѤǤ¤Þ¤»¤ó¡£ </para> </sect2> @@ -257,7 +268,7 @@ The following types of templates are relevant for preseeding. </para> -<itemizedlist> +<itemizedlist spacing="compact"> <listitem><para> string: allows the user to type any value </para></listitem> @@ -297,76 +308,9 @@ are stored in a separate, non-readable file in the same directory. </para> </sect2> --> - - <sect2 id="preseed-hooks"> -<!-- - <title>Running custom commands during the installation</title> ---> - <title>¥¤¥ó¥¹¥È¡¼¥ëÃæ¤Ç¤Î¥«¥¹¥¿¥à¥³¥Þ¥ó¥É¤Î¼Â¹Ô</title> -<para> - -<!-- -A very powerful and flexible option offered by the preconfiguration tools -is the ability to run commands or scripts at certain points in the -installation. See <xref linkend="preseed-shell"/> for details. ---> -»öÁ°ÀßÄê¥Ä¡¼¥ë¤ÇÄ󶡤µ¤ì¤ë¡¢¤È¤Æ¤â¶¯ÎϤǽÀÆð¤Ê¥ª¥×¥·¥ç¥ó¤Ë¡¢ -¥¤¥ó¥¹¥È¡¼¥ë¤Î·è¤Þ¤Ã¤¿¾ì½ê¤Ç¥³¥Þ¥ó¥É¤ä¥¹¥¯¥ê¥×¥È¤ò¼Â¹Ô¤¹¤ëµ¡Ç½¤¬¤¢¤ê¤Þ¤¹¡£ -¾ÜºÙ¤Ï <xref linkend="preseed-shell"/> ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£ - -</para> - -<itemizedlist> -<listitem><para> -<!-- - <userinput>preseed/early_command</userinput>: is run as soon as the - preconfiguration file has been loaded ---> - <userinput>preseed/early_command</userinput>: ¤Ï¡¢ - »öÁ°ÀßÄê¥Õ¥¡¥¤¥ë¤¬Æɤ߹þ¤Þ¤ì¤ë¤È¤¹¤°¤Ë¼Â¹Ô¤·¤Þ¤¹¡£ -</para></listitem> -<listitem><para> -<!-- - <userinput>preseed/late_command</userinput>: is run just before the reboot - at the end of the install, but before the <filename>/target</filename> - filesystem has been unmounted ---> - <userinput>preseed/late_command</userinput>: ¤Ï¡¢ - ¥¤¥ó¥¹¥È¡¼¥ë¤¬½ª¤ï¤Ã¤ÆºÆµ¯Æ°¤¹¤ëľÁ°¡¢ - <filename>/target</filename> ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò¥¢¥ó¥Þ¥¦¥ó¥È¤¹¤ëÁ°¤Ë¼Â¹Ô¤·¤Þ¤¹¡£ -</para></listitem> -</itemizedlist> - - </sect2> - - <sect2 id="preseed-seenflag"> -<!-- - <title>Using preseeding to change default values</title> ---> - <title>¥Ç¥Õ¥©¥ë¥ÈÃͤÎÊѹ¹¤Ë´Ø¤¹¤ë preseed ¤ÎÍøÍÑ</title> -<para> - -<!-- -It is possible to use preseeding to change the default answer for a -question, but still have the question asked. To do this the -<firstterm>seen</firstterm> flag must be reset to <quote>false</quote> after -setting the value for a question. ---> -¿Ö¤«¤ì¤ë¼ÁÌä¤ËÂФ¹¤ë¥Ç¥Õ¥©¥ë¥È¤Î²óÅú¤òÊѹ¹¤¹¤ë¤Î¤Ë preseed ¤òÍøÍѤǤ¤Þ¤¹¡£ -¤³¤ì¤Ë¤Ï¡¢¼ÁÌä¤ËÃͤòÀßÄꤷ¤¿¸å¤Ç¡¢ -<firstterm>seen</firstterm> ¥Õ¥é¥°¤ò <quote>false</quote> -¤ËÀßÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ - -</para> - -<informalexample><screen> -d-i foo/bar string value -d-i foo/bar seen false -</screen></informalexample> - - </sect2> </sect1> + <sect1 id="preseed-using"> <!-- <title>Using preseeding</title> @@ -375,16 +319,16 @@ d-i foo/bar seen false <para> <!-- -Of course you will first need to create a preconfiguration file and place it in +You will first need to create a preconfiguration file and place it in the location from where you want to use it. Creating the preconfiguration file is covered later in this appendix. Putting it in the correct location is fairly straightforward for network preseeding or if you want to read the file off a floppy or usb-stick. If you want to include the file on a CD or DVD, you will have to remaster the ISO image. How to get the preconfiguration file included in the initrd is outside the scope of this document; please consult -the developers documentation for &d-i;. +the developers' documentation for &d-i;. --> -¤â¤Á¤í¤ó»öÁ°ÀßÄê¥Õ¥¡¥¤¥ë¤òºÇ½é¤ËºîÀ®¤·¡¢»ÈÍѤ¹¤ë¾ì½ê¤ËÇÛÃÖ¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ +»öÁ°ÀßÄê¥Õ¥¡¥¤¥ë¤òºÇ½é¤ËºîÀ®¤·¡¢»ÈÍѤ¹¤ë¾ì½ê¤ËÇÛÃÖ¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ »öÁ°ÀßÄê¥Õ¥¡¥¤¥ë¤ÎºîÀ®¤ÏËÜÉÕÏ¿¤Ç¸å¤Û¤É°·¤¤¤Þ¤¹¡£ ¥Í¥Ã¥È¥ï¡¼¥¯ preseed ¤Î¾ì¹ç¤ä¡¢ ¥Õ¥¡¥¤¥ë¤ò¥Õ¥í¥Ã¥Ô¡¼¤ä USB ¥¹¥Æ¥£¥Ã¥¯¤«¤éÆɤ߹þ¤à¾ì¹ç¡¢ @@ -514,20 +458,382 @@ Note that <filename>preseed/url</filename> can be shortened to just <filename>preseed/file</filename> ¤Ï <filename>file</filename> ¤Ë û½Ì¤Ç¤¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ +</para> + </sect2> + + <sect2 id="preseed-bootparms"> +<!-- + <title>Using boot parameters to preseed questions</title> +--> + <title>preseed ¤¬¼ÁÌ䤹¤ë¥Ö¡¼¥È¥Ñ¥é¥á¡¼¥¿¤ÎÍøÍÑ</title> +<para> + +<!-- +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. +--> +»öÁ°ÀßÄê¥Õ¥¡¥¤¥ë¤ò preseed ¤Î³ÆÃʳ¬¤Ç»ÈÍѤǤ¤Ê¤¤¾ì¹ç¤Ç¤â¡¢ +preseed ¤ÎÃͤò¥¤¥ó¥¹¥È¡¼¥éµ¯Æ°»þ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤ËÍ¿¤¨¤ë¤³¤È¤Ç¡¢ +¥¤¥ó¥¹¥È¡¼¥ë¤ò¼«Æ°¤Ç¹Ô¤¨¤Þ¤¹¡£ + +</para><para> + +<!-- +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. +--> +preseed ¤ò»ÈÍѤ»¤º»ØÄꤷ¤¿¼ÁÌä¤Ø¤ÎÅú¤¨¤òÀßÄꤷ¤¿¤¤¾ì¹ç¤Ë¤â¡¢ +¥Ö¡¼¥È¥Ñ¥é¥á¡¼¥¿¤ò»ÈÍѤ·¤Þ¤¹¡£ +ÍÍѤʻÈÍÑË¡¤Î¥µ¥ó¥×¥ë¤¬¡¢¤³¤Î¥Þ¥Ë¥å¥¢¥ë¤ÎÊ̤ξì½ê¤Ë¤¢¤ê¤Þ¤¹¡£ + +</para><para> + +<!-- +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> 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. +--> +&d-i; ÆâÉô¤Ç»ÈÍѤ¹¤ëÃͤò¥»¥Ã¥È¤¹¤ë¤Ë¤Ï¡¢ +<userinput><replaceable>path/to/variable</replaceable>=<replaceable>value</replaceable></userinput> +¤Î¤è¤¦¤ËËÜÉÕÏ¿¤ÎÎã¤Ë¤¢¤ë preseed ÊÑ¿ô¤òÅϤ¹¤À¤±¤Ç¤¹¡£ +Ãͤ¬¥¿¡¼¥²¥Ã¥È¥·¥¹¥Æ¥à¤Î¥Ñ¥Ã¥±¡¼¥¸¤òÀßÄꤹ¤ë¤³¤È¤¬¤¢¤ë¾ì¹ç¡¢ +<userinput><replaceable>owner</replaceable>:<replaceable>path/to/variable</replaceable>=<replaceable>value</replaceable></userinput> +¤Ç»ÈÍѤ¹¤ë¤è¤¦¤ÊÊÑ¿ô¤Î <firstterm>owner</firstterm> ¤ò¡¢ +¤¢¤é¤«¤¸¤áÍÑ°Õ¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ +owner ¤ò»ØÄꤷ¤Ê¤¤¾ì¹ç¡¢ +ÊÑ¿ô¤ÎÃͤϥ¿¡¼¥²¥Ã¥È¥·¥¹¥Æ¥à¤Î debconf ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ë¥³¥Ô¡¼¤µ¤ì¤º¡¢ +´ØÏ¢¥Ñ¥Ã¥±¡¼¥¸¤ÎÀßÄêÃæ»ÈÍѤµ¤ì¤Þ¤»¤ó¡£ + +</para><para> + +<!-- +Note that some variables that are frequently set at the boot prompt +have a shorter alias. If an alias is available, it is used in the +examples in this appendix instead of the full variable. In +particular, the <literal>preseed/url</literal> variable has been +aliased as <literal>url</literal> and has some extra magic to allow +shortened urls to be used. Another example is the <literal>tasks</literal> +alias, which translates to <literal>tasksel:tasksel/first</literal>. +--> +¥Ö¡¼¥È¥×¥í¥ó¥×¥È¤Ë¤è¤¯»ÈÍѤµ¤ì¤ëÊÑ¿ô¤Ë¤Ï¡¢ +û¤¤¥¨¥¤¥ê¥¢¥¹¤¬¤¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ +͸ú¤Ê¥¨¥¤¥ê¥¢¥¹¤Ï¡¢ËÜ¥µ¥ó¥×¥ëÆâ¤Ç´°Á´¤ÊÊÑ¿ô̾¤ÎÂå¤ï¤ê¤Ë»ÈÍѤ·¤Æ¤¤¤Þ¤¹¡£ +Æäˡ¢<literal>preseed/url</literal> ÊÑ¿ô¤Ë¤Ï <literal>url</literal> +¤È¤¤¤¦¥¨¥¤¥ê¥¢¥¹¤¬¤¢¤ê¡¢Ã»¤¤ URL ¤¬»È¤¨¤ë¤³¤È¤Î¤è¤ëµ»¤¬¤¤¤¯¤Ä¤«¤¢¤ê¤Þ¤¹¡£ +¤â¤¦°ì¤Ä¡¢<literal>tasks</literal> ¤È¤¤¤¦¥¨¥¤¥ê¥¢¥¹¤¬¤¢¤ê¡¢ +¤³¤ì¤Ï <literal>tasksel:tasksel/first</literal> ¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£ + +</para><para> + +<!-- +A <quote>-\-</quote> in the boot options has special meaning. Kernel +parameters that appear after the last <quote>-\-</quote> may be copied +into the bootloader configuration for the installed system (if supported by +the installer for the bootloader). The installer will automatically filter +out any options (like preconfiguration options) that it recognizes. +--> +¥Ö¡¼¥È¥ª¥×¥·¥ç¥ó¤Î <quote>--</quote> ¤ÏÆÃÊ̤ʰÕÌ£¤ò»ý¤Á¤Þ¤¹¡£ +ºÇ¸å¤Î <quote>--</quote> ¤Ë³¤¥«¡¼¥Í¥ë¥Ñ¥é¥á¡¼¥¿¤¬¤¢¤ë¤È¡¢ +(¥¤¥ó¥¹¥È¡¼¥é¤¬¥µ¥Ý¡¼¥È¤¹¤ë¥Ö¡¼¥È¥í¡¼¥À¤Î¾ì¹ç) +¥¤¥ó¥¹¥È¡¼¥ëºÑ¤ß¤Î¥Ö¡¼¥È¥í¡¼¥À¤ÎÀßÄê¤Ë¥³¥Ô¡¼¤µ¤ì¤Þ¤¹¡£ +¥¤¥ó¥¹¥È¡¼¥é¤Ï¡¢(»öÁ°ÀßÄꥪ¥×¥·¥ç¥ó¤Î¤è¤¦¤Ê) ¥ª¥×¥·¥ç¥ó¤òǧ¼±¤¹¤ë¤È¡¢ +¼«Æ°Åª¤Ë¥Õ¥£¥ë¥¿¤ò³Ý¤±¤Þ¤¹¡£ + +</para> +<note><para> + +<!-- +Current linux kernels (2.6.9 and later) accept a maximum of 32 command line +options and 32 environment options, including any options added by default +for the installer. If these numbers are exceeded, the kernel will panic +(crash). (For earlier kernels, these numbers were lower.) +--> +¸½ºß¤Î Linux ¥«¡¼¥Í¥ë (2.6.9 °Ê¹ß) ¤Ç¤Ï¡¢ +ºÇÂç (¥¤¥ó¥¹¥È¡¼¥é¤¬¥Ç¥Õ¥©¥ë¥È¤Ç»ØÄꤹ¤ë¥ª¥×¥·¥ç¥ó¤ò´Þ¤á) +¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤ò 32 ¸Ä¡¢´Ä¶¥ª¥×¥·¥ç¥ó¤ò 32 ¸Ä¼õ¤±¼è¤ì¤Þ¤¹¡£ +¤³¤Î¿ô¤òĶ¤¨¤ë¤È¡¢¥«¡¼¥Í¥ë¤Ï¥Ñ¥Ë¥Ã¥¯ (¥¯¥é¥Ã¥·¥å) ¤·¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ +(½é´ü¤Î¥«¡¼¥Í¥ë¤Ç¤Ï¤³¤Î¿ô»ú¤¬¤â¤Ã¤È¾¯¤Ê¤¤¤Ç¤¹) + +</para></note> +<para> + +<!-- +For most installations some of the default options in your bootloader +configuration file, like <literal>vga=normal</literal>, may be safely +removed which may allow you to add more options for preseeding. +--> +¤Û¤È¤ó¤É¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤Ï¡¢¥Ö¡¼¥È¥í¡¼¥ÀÀßÄê¥Õ¥¡¥¤¥ë¤Ë¤¢¤ë +(<literal>vga=normal</literal> ¤Î¤è¤¦¤Ê) +¥Ç¥Õ¥©¥ë¥È¥ª¥×¥·¥ç¥ó¤ò°ÂÁ´¤Ëºï½ü¤Ç¤¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ +¤³¤ì¤Ë¤è¤ê preseed ÍѤˤâ¤Ã¤È¥ª¥×¥·¥ç¥ó¤òÄɲäǤ¤Þ¤¹¡£ + +</para> +<note><para> + +<!-- +It may not always be possible to specify values with spaces for boot +parameters, even if you delimit them with quotes. +--> +¥Ö¡¼¥È¥Ñ¥é¥á¡¼¥¿¤Ë¶õÇò¤ò´Þ¤ó¤ÀÃͤòÀßÄꤹ¤ë¤Î¤Ï¡¢ +°úÍÑÉä¤Ç¶èÀڤ俤Ȥ·¤Æ¤â¤¤¤Ä¤â¤¦¤Þ¤¯¤¤¤¯¤È¤Ï¸Â¤ê¤Þ¤»¤ó¡£ + +</para></note> + </sect2> + <sect2 id="preseed-auto"> +<!-- + <title>Auto mode</title> +--> + <title>¼«Æ°¥â¡¼¥É</title> +<para> + +<!-- +There are several features of Debian Installer that combine to allow +fairly simple command lines at the boot prompt to result in +arbitrarily complex customized automatic installs. To illustrate +this, here are some examples that can be used at the boot prompt: +--> +¤Þ¤µ¤·¤¯¥·¥ó¥×¥ë¤Ê¥³¥Þ¥ó¥É¥é¥¤¥ó¤ò¥Ö¡¼¥È¥×¥í¥ó¥×¥È¤ËÍ¿¤¨¡¢ +Ǥ°Õ¤ÎÊ£»¨¤Ê¥«¥¹¥¿¥Þ¥¤¥º¤ò¼«Æ°¥¤¥ó¥¹¥È¡¼¥ë¤ËÂФ·¤Æ¹Ô¤¦ +Debian Installer ¤Îµ¡Ç½¤¬¤¢¤ê¤Þ¤¹¡£ +¤³¤ì¤òÀâÌÀ¤¹¤ë¤Î¤Ë¡¢°Ê²¼¤Î¥µ¥ó¥×¥ë¤ò¥Ö¡¼¥È¥×¥í¥ó¥×¥È¤Ë»ÈÍѤ·¤Þ¤¹¡£ + +<informalexample><screen> +auto url=autoserver +</screen></informalexample> + +<!-- +This relies on there being a DHCP server that will get the machine to +the point where <literal>autoserver</literal> can be resolved by DNS, +perhaps after adding the local domain if that was provided by DHCP. +If this was done at a site where the domain is +<literal>example.com</literal>, and they have a reasonably sane DHCP +setup, it would result in the preseed file being retrieved from +<literal>http://autoserver.example.com/d-i/etch/./preseed.cfg</literal>. +--> +¤³¤ì¤Ï¡¢DNS ¤Ç <literal>autoserver</literal> ¤Î̾Á°²ò·è¤Ç¤ +(¤ª¤½¤é¤¯ DHCP ¤Ç¥í¡¼¥«¥ë¥É¥á¥¤¥óÄɲøå)¡¢ +¤½¤Î¥Þ¥·¥ó¤¬ DHCP ¥µ¡¼¥Ð¤Ç¤¢¤ë¤³¤È¤òÁ°Äó¤Ë¤·¤Æ¤¤¤Þ¤¹¡£ +<literal>example.com</literal> ¤È¤¤¤¦¥É¥á¥¤¥ó¤Î¥µ¥¤¥È¤¬¡¢ +ÉáÄ̤ΤޤȤâ¤Ê DHCP ¤òÀßÄꤷ¤Æ¤¤¤ì¤Ð¡¢ +<literal>http://autoserver.example.com/d-i/etch/./preseed.cfg</literal> +¤«¤é¡¢preseed ¥Õ¥¡¥¤¥ë¤ò¼èÆÀ¤¹¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£ + +</para><para> + +<!-- +The path segment of that comes from +<literal>auto-install/defaultroot</literal>, which includes the +directory <literal>etch</literal> by default to allow future versions +to specify their own codename to let people migrate forwards in a +controlled manner. The <literal>/./</literal> bit is used to indicate +a root relative to which subsequent paths can be anchored (for use in +preseed/include and preseed/run). This allows files to be specified +either as full URLs, paths starting with / that are thus anchored, or +even paths relative to the location where the last preseed file was +found. This can be used to construct more portable scripts where an +entire hierarchy of scripts can be moved to a new location without +breaking it, for example copying the files onto a USB stick when they +started out on a web server. In this example, if the preseed file +sets <literal>preseed/run</literal> to +<literal>/scripts/late_command.sh</literal> then the file will be +fetched from +<literal>http://autoserver.example.com/d-i/etch/./scripts/late_command.sh</literal>. +--> +¤³¤Î¥Ñ¥¹¥»¥°¥á¥ó¥È¤Ï <literal>auto-install/defaultroot</literal> ¤ËͳÍ褷¤Þ¤¹¡£ +¤³¤³¤Ë¤Ï¡¢¾Íè¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¥³¡¼¥É¥Í¡¼¥à¤ò»ØÄꤷ¤Æ°Ü¹Ô¤·¤Æ¤¤¤±¤ë¤è¤¦¤Ë¡¢ +¥Ç¥Õ¥©¥ë¥È¤Ç <literal>etch</literal> ¥Ç¥£¥ì¥¯¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ +<literal>/./</literal> ¤Ï¡¢¤½¤Î¸å¤Ë³¤¯¥Ñ¥¹¤¬³ÎÄꤹ¤ë¤è¤¦¤Ë¡¢ +¥ë¡¼¥È¤«¤é¤ÎÁêÂХѥ¹¤ò¤ò¼¨¤·¤Þ¤¹ (preseed/include ¤ä preseed/run ¤Ç»ÈÍÑ)¡£ +¤³¤ì¤Ë¤è¤ê¡¢¥Õ¥¡¥¤¥ë¤ò´°Á´¤Ê URL¡¢/ ¤Ç»Ï¤Þ¤ë¥Ñ¥¹¡¢ +Á°²ó preseed ¤¬¸«¤Ä¤«¤Ã¤¿¾ì½ê¤«¤é¤ÎÁêÂХѥ¹¤Ç¥Õ¥¡¥¤¥ë¤ò»ØÄê¤Ç¤¤Þ¤¹¡£ +¥¹¥¯¥ê¥×¥È¤Î³¬Áع½Â¤¤ò²õ¤µ¤º¤Ë¿·¤·¤¤¾ì½ê¤Ë°ÜÆ°¤Ç¤¤ë +(Î㤨¤Ð ¥¦¥§¥Ö¥µ¡¼¥Ð¤Ç³«»Ï¤·¡¢USB ¥¹¥Æ¥£¥Ã¥¯¤Ë¥³¥Ô¡¼¤¹¤ë)¡¢ +¤è¤ê¥Ý¡¼¥¿¥Ö¥ë¤Ê¥¹¥¯¥ê¥×¥È¤ò¹½À®¤¹¤ë¤Î¤ËÊØÍø¤Ç¤¹¡£ +¤³¤Î¥µ¥ó¥×¥ë¤Ç¤Ï¡¢preseed ¥Õ¥¡¥¤¥ë¤Î <literal>preseed/run</literal> ¤Ë +<literal>/scripts/late_command.sh</literal> ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢ +<literal>http://autoserver.example.com/d-i/etch/./scripts/late_command.sh</literal> +¤«¤é¥Õ¥¡¥¤¥ë¤ò¼èÆÀ¤·¤Þ¤¹¡£ + +</para><para> + +<!-- +If there is no local DHCP or DNS infrastructure, or if you +do not want to use the default path to the preseed.cfg, you can still +use an explicit url, and if you don't use the <literal>/./</literal> +element it will be anchored to the start of the path (i.e. the third / +in the URL). Here is an example that requires minimal support from +the local network infrastructure: +--> +¼ê¸µ¤Ë DHCP ¤ä DNS ¤Î¥¤¥ó¥Õ¥é¤¬¤Ê¤¤¾ì¹ç¤ä¡¢ +preseed.cfg ¤Î¥Ç¥Õ¥©¥ë¥È¥Ñ¥¹¤ò»ÈÍѤ·¤¿¤¯¤Ê¤¤¾ì¹ç¤Ç¤â¡¢ +¤¤Á¤ó¤È¤·¤¿ URL ¤ò»ÈÍѤǤ¡¢<literal>/./</literal> Í×ÁǤò»ÈÍѤ·¤Ê¤¤¾ì¹ç¤Ï¡¢ +¥Ñ¥¹¤Î³«»ÏÅÀ¤ò·èÄê¤Ç¤¤Þ¤¹ (Î㤨¤Ð URL ¤Î 3 ¤ÄÌܤΠ/)¡£ +°Ê²¼¤Ï¡¢¼ê¸µ¤Î¥Í¥Ã¥È¥ï¡¼¥¯¥¤¥ó¥Õ¥é¤«¤éºÇÄã¸ÂɬÍפÊʪ¤Î¥µ¥ó¥×¥ë¤Ç¤¹¡£ + +<informalexample><screen> +auto url=<replaceable>http://192.168.1.2/path/to/mypreseed.file</replaceable> +</screen></informalexample> + +<!-- +The way this works is that: +--> +¤³¤ÎÊýË¡¤Ï¼¡¤Î¤è¤¦¤ËÆ°ºî¤·¤Þ¤¹¡£ +<itemizedlist spacing="compact"> +<listitem><para> +<!-- +if the URL is missing a protocol, http is assumed, +--> +URL ¤¬¸«¤Ä¤«¤é¤Ê¤¤¾ì¹ç¡¢http ¤À¤È²¾Äꤷ¤Þ¤¹¡£ +</para></listitem> +<listitem><para> +<!-- +if the hostname section contains no periods, it has the domain derived +from DHCP appended to it, and +--> +¥Û¥¹¥È̾¥»¥¯¥·¥ç¥ó¤Ë¥Ô¥ê¥ª¥É¤¬¤Ê¤±¤ì¤Ð¡¢DHCP ¤«¤é°ú¤½Ð¤·¤ÆÄɲä·¤Þ¤¹¡£ +</para></listitem> +<listitem><para> +<!-- +if there's no <literal>/</literal>'s after the hostname, then the default +path is added. +--> +¥Û¥¹¥È̾¤Î¸å¤Ë <literal>/</literal> ¤¬¤Ê¤±¤ì¤Ð¡¢¥Ç¥Õ¥©¥ë¥È¥Ñ¥¹¤òÄɲä·¤Þ¤¹¡£ +</para></listitem> +</itemizedlist> + +</para><para> + +<!-- +In addition to specifying the url, you can also specify settings that +do not directly affect the behavior of &d-i; itself, but can be passed +through to any scripts that might be specified <literal>preseed/run</literal> +settings in the loaded preseed file. At present, the only example of +this is <literal>auto-install/classes</literal>, which has an alias +<literal>classes</literal>. This can be used thus: +--> +URL ¤ò»ØÄꤹ¤ë¤Î¤Ë²Ã¤¨¤Æ¡¢ +&d-i; ¼«¿È¤Î¿¶¤ëÉñ¤¤¤Ë¤ÏľÀܱƶÁ¤·¤Ê¤¤ÀßÄê¤âÄɲäǤ¤Þ¤¹¤¬¡¢ +Æɤ߹þ¤ó¤À preseed ¥Õ¥¡¥¤¥ë¤Î <literal>preseed/run</literal> ÀßÄê¤Ç»ØÄꤷ¤¿¡¢ +¤¤¤º¤ì¤Î¥¹¥¯¥ê¥×¥È¤Ë¤âÅϤ¹¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ +¸½ºß¤Î¤È¤³¤í¡¢<literal>classes</literal> ¤È¤¤¤¦¥¨¥¤¥ê¥¢¥¹¤ò»ý¤Ä¡¢ +<literal>auto-install/classes</literal> ¤Î¥µ¥ó¥×¥ë¤Î¤ß¤Ç¤¹¡£ +°Ê²¼¤Î¤è¤¦¤Ë»ÈÍѤ·¤Þ¤¹¡£ + +<informalexample><screen> +auto url=<replaceable>example.com</replaceable> classes=<replaceable>class_A;class_B</replaceable> +</screen></informalexample> + +<!-- +The classes could for example denote the type of system to be installed, +or the localization to be used. +--> +classes ¤Ë¤Ï¤³¤Î¥µ¥ó¥×¥ë¤Ç¤Ï¡¢¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¥·¥¹¥Æ¥à¤Î¥¿¥¤¥×¤ä¡¢ +ÃÏ°è²½¤ò»ØÄꤹ¤ë¤Î¤Ë»ÈÍѤǤ¤Þ¤¹¡£ + +</para><para> + +<!-- +It is of course possible to extend this concept, and if you do, it is +reasonable to use the auto-install namespace for this. So one might have +something like <literal>auto-install/style</literal> which is then used +in your scripts. If you feel the need to do this, please mention it on +the <email>debian-boot@lists.debian.org</email> mailing list so that we +can avoid namespace conflicts, and perhaps add an alias for the parameter +for you. +--> +¤³¤Î³µÇ°¤Ï¤â¤Á¤í¤ó³ÈÄ¥¤Ç¤¡¢¤â¤·¤½¤¦¤¹¤ë¾ì¹ç¡¢ +auto-install ̾Á°¶õ´Ö¤ò»ÈÍѤ¹¤ë¤Î¤¬ÂÅÅö¤Ç¤¹¡£ +¤Ç¤¹¤«¤é¡¢¼¡¤Ë¤¢¤Ê¤¿¤Î¥¹¥¯¥ê¥×¥È¤Ç»ÈÍѤ¹¤ë +<literal>auto-install/style</literal> ¤Î¤è¤¦¤Êʪ¤«¤â¤·¤ì¤Þ¤»¤ó¡£ +¤³¤ì¤¬É¬ÍפÀ¤È»×¤¦¤Î¤Ê¤é¡¢Ì¾Á°¶õ´Ö¤Î¾×ÆͤòÈò¤±¤ë¤¿¤á¤Ë +<email>debian-boot@lists.debian.org</email> ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤ÇÄó°Æ¤·¤Æ¤¯¤À¤µ¤¤¡£ +¤ª¤½¤é¤¯¥Ñ¥é¥á¡¼¥¿¤Î¥¨¥¤¥ê¥¢¥¹¤¬Äɲ䵤ì¤Þ¤¹¡£ + +</para><para> + +<!-- +The <literal>auto</literal> boot label is not yet defined on all +architectures. The same effect may be achieved by simply adding the two +parameters <literal>auto=true priority=critical</literal> to the kernel +command line. The <literal>auto</literal> parameter is an alias for +<literal>auto-install/enabled</literal> and controls the delay of the +locale and keyboard questions until after there has been a chance to +preseed them, while <literal>priority</literal> is an alias for +<literal>preseed/priority</literal> and setting it to +<literal>critical</literal> stops any questions with a lower priority +from being asked. +--> +<literal>auto</literal> ¥Ö¡¼¥È¥é¥Ù¥ë¤Ï¡¢ +¤É¤Î¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Ç¤â¤Þ¤ÀÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£ +¥«¡¼¥Í¥ë¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¡¢Ã±¤Ë¥Ñ¥é¥á¡¼¥¿¤ò 2 ¤Ä +<literal>auto=true priority=critical</literal> ¤òÄɲ乤ë¤È¡¢ +Ʊ¤¸¸ú²Ì¤òÆÀ¤é¤ì¤Þ¤¹¡£ +<literal>auto</literal> ¥Ñ¥é¥á¡¼¥¿¤Ï <literal>auto-install/enabled</literal> +¤Î¥¨¥¤¥ê¥¢¥¹¤Ç¡¢¥í¥±¡¼¥ë¤ä¥¡¼¥Ü¡¼¥É¤Î¼ÁÌä¤ò preseed ¤Ç¹Ô¤¨¤ë¤è¤¦Ã٤餻¤Þ¤¹¡£ +¤Þ¤¿¡¢<literal>priority</literal> ¤Ï <literal>preseed/priority</literal> +¤Î¥¨¥¤¥ê¥¢¥¹¤Ç¡¢<literal>critical</literal> ¤ËÀßÄꤹ¤ë¤È¡¢ +Í¥ÀèÅÙ¤ÎÄ㤤¼ÁÌä¤òÍÞÀ©¤¹¤ë¡£ + + </para><para> <!-- -While you're at it, you may want to add a boot parameter -<userinput>debconf/priority=critical</userinput>. This will avoid most -questions even if the preseeding below misses some. +Additional options that may be of interest while attempting to +automate an install while using DHCP are: <literal>interface=auto +netcfg/dhcp_timeout=60</literal> which makes the machine choose the +first viable NIC and be more patient about getting a reply to its +DHCP query. --> -¼Â¹Ô¤¹¤ë¤Ë¤¢¤¿¤ê¡¢¥Ö¡¼¥È¥Ñ¥é¥á¡¼¥¿¤Ë -<userinput>debconf/priority=critical</userinput> ¤òÄɲä·¤¿¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£ -preseed ¤Ç¤¤¤¯¤Ä¤«°Ê²¼¤ÎÀßÄê¤òϳ¤é¤·¤Æ¤â¡¢ -¤Û¤È¤ó¤É¤Î¼ÁÌ䤬ɽ¼¨¤µ¤ì¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£ +DHCP ¤ò»ÈÍѤ·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤Î¼«Æ°²½¤ò¹Ô¤¦ºÝ¤Ë¡¢ +´ØÏ¢¤¹¤ëÄɲ媥ץ·¥ç¥ó¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£<literal>interface=auto +netcfg/dhcp_timeout=60</literal> ¤³¤ì¤Ï¥Þ¥·¥ó¤¬ºÇ½é¤Î»ÈÍѲÄǽ NIC ¤òÁªÂò¤·¡¢ +DHCP Ì䤤¹ç¤ï¤»¤ËÂФ¹¤ëÊÖÅú¤ò¤â¤Ã¤È²æËý¶¯¤¯ÂԤĤ褦¤Ë¤Ê¤ê¤Þ¤¹¡£ </para> </sect2> + + <sect2 id="preseed-aliases"> +<!-- + <title>Aliases useful with preseeding</title> +--> + <title>preseed ¤ÇÍøÍѤǤ¤ë¥¨¥¤¥ê¥¢¥¹</title> +<para> + +<!-- +The following aliases can be useful when using (auto mode) preseeding. +--> +°Ê²¼¤Î¥¨¥¤¥ê¥¢¥¹¤¬ (¼«Æ°¥â¡¼¥É) preseed ¤ò»ÈÍѤ¹¤ëºÝ¤ËÍøÍѤǤ¤Þ¤¹¡£ + +</para> + +<!-- Setting column width does not seem to work; use non-breaking spaces + to separate columns a bit --> +<informaltable frame="none"> +<tgroup cols="2"><tbody> +<row><entry>auto</entry><entry>auto-install/enabled</entry></row> +<row><entry>classes</entry><entry>auto-install/classes</entry></row> +<row><entry>fb</entry><entry>debian-installer/framebuffer</entry></row> +<row><entry>locale</entry><entry>debian-installer/locale</entry></row> +<row><entry>priority</entry><entry>debconf/priority</entry></row> +<row><entry>file</entry><entry>preseed/file</entry></row> +<row><entry>url</entry><entry>preseed/url</entry></row> +<row><entry>hostname </entry><entry>netcfg/get_hostname</entry></row> +<row><entry>domain</entry><entry>netcfg/get_domain</entry></row> +<row><entry>interface</entry><entry>netcfg/choose_interface</entry></row> +<row><entry>suite</entry><entry>mirror/suite</entry></row> +</tbody></tgroup> +</informaltable> + + </sect2> + <sect2 id="preseed-dhcp"> <!-- @@ -593,112 +899,6 @@ DHCP preseed ¤òÍѤ¤¤¿ Debian ¤Î´°Á´¼«Æ°¥¤¥ó¥¹¥È¡¼¥ë¤Ï¡¢ </para> </sect2> - - <sect2 id="preseed-bootparms"> -<!-- - <title>Using boot parameters to supplement preseeding</title> ---> - <title>preseed ¤òÊ䤹¤ë¥Ö¡¼¥È¥Ñ¥é¥á¡¼¥¿¤ÎÍøÍÑ</title> -<para> - -<!-- -Some parts of the installation process cannot be automated using some forms -of preseeding because the questions are asked before the preconfiguration -file is loaded. For example, if the preconfiguration file is downloaded over -the network, the network setup must be done first. One reason to use initrd -preseeding is that it allows preseeding of even these early steps of the -installation process. ---> -¥¤¥ó¥¹¥È¡¼¥ë¥×¥í¥»¥¹¤Î¤¦¤Á¤Î¤¢¤ëÉôʬ¤Î¼ÁÌä¤Ï¡¢ -»öÁ°ÀßÄê¥Õ¥¡¥¤¥ë¤¬Æɤ߹þ¤Þ¤ì¤ëÁ°¤Ë¤Ê¤µ¤ì¤ë¤¿¤á¼«Æ°²½¤Ç¤¤Þ¤»¤ó¡£ -Î㤨¤Ð¡¢»öÁ°ÀßÄê¥Õ¥¡¥¤¥ë¤ò¥Í¥Ã¥È¥ï¡¼¥¯¤«¤é¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¾ì¹ç¡¢ -¤Þ¤º¥Í¥Ã¥È¥ï¡¼¥¯¤ÎÀßÄ꤬´°Î»¤·¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ -¥¤¥ó¥¹¥È¡¼¥ë¥×¥í¥»¥¹¤ÎÁᤤÃʳ¬¤«¤é preseed ¤Ç¤¤ë¤È¤¤¤¦¤Î¤¬¡¢ -initrd preseed ¤ò»ÈÍѤ¹¤ëÍýͳ¤Î¤Ò¤È¤Ä¤Ç¤¹¡£ - -</para><para> - -<!-- -If a preconfiguration file cannot be used to preseed some steps, the install -can still be fully automated, since you can pass preseed values to the kernel -on the command line. Just pass <userinput>path/to/var=value</userinput> -for any of the preseed variables listed in the examples. ---> -»öÁ°ÀßÄê¥Õ¥¡¥¤¥ë¤ò preseed ¤Ë»ÈÍѤǤ¤Ê¤¤¥¹¥Æ¥Ã¥×¤¬¤¢¤Ã¤Æ¤â¡¢ -¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤é preseed ¤ÎÃͤò¥«¡¼¥Í¥ë¤ËÅϤ»¤ë¤Î¤Ç¡¢ -¤Þ¤À´°Á´¤Ë¼«Æ°²½¤Ç¤¤Þ¤¹¡£ -<userinput>path/to/var=value</userinput> ¤È¤¤¤¦¤è¤¦¤Ë¡¢ -¥µ¥ó¥×¥ë¤Ë¤¢¤ë preseed ÊÑ¿ô¤òÅϤ·¤Æ¤¯¤À¤µ¤¤¡£ - -</para><para> - -<!-- -Note that some variables that are frequently set at the boot prompt have a -shorter alias. If an alias is available, it is used in the examples in -this appendix instead of the full variable. ---> -¥Ö¡¼¥È¥×¥í¥ó¥×¥È¤Ë¤è¤¯»ÈÍѤµ¤ì¤ëÊÑ¿ô¤Ë¤Ï¡¢ -û¤¤¥¨¥¤¥ê¥¢¥¹¤¬¤¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ -͸ú¤Ê¥¨¥¤¥ê¥¢¥¹¤Ï¡¢ËÜ¥µ¥ó¥×¥ëÆâ¤Ç´°Á´¤ÊÊÑ¿ô̾¤ÎÂå¤ï¤ê¤Ë»ÈÍѤ·¤Æ¤¤¤Þ¤¹¡£ - -</para><para> - -<!-- -A <quote>-\-</quote> in the boot options has special meaning. -Kernel parameters that appear after it will be copied into the installed -bootloader configuration (if supported by the installer for the -bootloader). Note that the <quote>-\-</quote> may already be -present in the default boot parameters. ---> -¥Ö¡¼¥È¥ª¥×¥·¥ç¥ó¤Î <quote>--</quote> ¤ÏÆÃÊ̤ʰÕÌ£¤ò»ý¤Á¤Þ¤¹¡£ -¤³¤ì¤Ë³¤¥«¡¼¥Í¥ë¥Ñ¥é¥á¡¼¥¿¤¬¤¢¤ë¤È¡¢ -¥¤¥ó¥¹¥È¡¼¥ëºÑ¤ß¤Î¥Ö¡¼¥È¥í¡¼¥À¤ÎÀßÄê¤Ë¥³¥Ô¡¼¤µ¤ì¤Þ¤¹ -(¥¤¥ó¥¹¥È¡¼¥é¤¬¥µ¥Ý¡¼¥È¤¹¤ë¥Ö¡¼¥È¥í¡¼¥À¤Î¾ì¹ç)¡£ -<quote>--</quote> ¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¥Ö¡¼¥È¥Ñ¥é¥á¡¼¥¿¤Ç¡¢ -¤¹¤Ç¤Ë»ÈÍѤµ¤ì¤Æ¤¤¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£ - -</para> -<note><para> - -<!-- -The 2.4 kernel accepts a maximum of 8 command line options and -8 environment options (including any options added by default for the -installer). If these numbers are exceeded, 2.4 kernels will drop any -excess options and 2.6 kernels will panic. For kernel 2.6.9 and later, -you can use 32 command line options and 32 environment options. ---> -¥«¡¼¥Í¥ë 2.4 ¤Ç¤ÏºÇÂç (¥¤¥ó¥¹¥È¡¼¥é¤¬¥Ç¥Õ¥©¥ë¥È¤Ç»ØÄꤹ¤ë¥ª¥×¥·¥ç¥ó¤ò´Þ¤á) -¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤ò 8 ¸Ä¡¢´Ä¶¥ª¥×¥·¥ç¥ó¤ò 8 ¸Ä¼õ¤±¼è¤ì¤Þ¤¹¡£ -¤³¤Î¿ô¤òĶ¤¨¤ë¤È¡¢¥«¡¼¥Í¥ë 2.4 ¤Ç¤ÏĶ²á¤·¤¿¥ª¥×¥·¥ç¥ó¤ò¼è¤ê¤³¤Ü¤·¤Æ¤·¤Þ¤¤¡¢ -¥«¡¼¥Í¥ë 2.6 ¤Ç¤Ï¥Ñ¥Ë¥Ã¥¯¤·¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ -¥«¡¼¥Í¥ë 2.6.9 °Ê¹ß¤Ç¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤ò 32 ¸Ä¡¢ -´Ä¶¥ª¥×¥·¥ç¥ó¤ò 32 ¸Ä¼õ¤±¼è¤ì¤Þ¤¹¡£ - -</para></note> -<para> - -<!-- -For most installations some of the default options in your bootloader -configuration file, like <literal>vga=normal</literal>, may be safely -removed which may allow you to add more options for preseeding. ---> -¤Û¤È¤ó¤É¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤Ï¡¢¥Ö¡¼¥È¥í¡¼¥ÀÀßÄê¥Õ¥¡¥¤¥ë¤Ë¤¢¤ë -(<literal>vga=normal</literal> ¤Î¤è¤¦¤Ê) -¥Ç¥Õ¥©¥ë¥È¥ª¥×¥·¥ç¥ó¤ò°ÂÁ´¤Ëºï½ü¤Ç¤¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ -¤³¤ì¤Ë¤è¤ê preseed ÍѤˤâ¤Ã¤È¥ª¥×¥·¥ç¥ó¤òÄɲäǤ¤Þ¤¹¡£ - -</para> -<note><para> - -<!-- -It may not always be possible to specify values with spaces for boot -parameters, even if you delimit them with quotes. ---> -¥Ö¡¼¥È¥Ñ¥é¥á¡¼¥¿¤Ë¶õÇò¤ò´Þ¤ó¤ÀÃͤòÀßÄꤹ¤ë¤Î¤Ï¡¢ -°úÍÑÉä¤Ç¶èÀڤ俤Ȥ·¤Æ¤â¤¤¤Ä¤â¤¦¤Þ¤¯¤¤¤¯¤È¤Ï¸Â¤ê¤Þ¤»¤ó¡£ - -</para></note> - </sect2> </sect1> <sect1 id="preseed-creating"> @@ -1170,8 +1370,7 @@ supported by <classname>partman-auto</classname>. You can choose to either partition existing free space on a disk or a whole disk. The layout of the disk can be determined by using a predefined recipe, a custom recipe from a recipe file or a recipe included in the preconfiguration file. It is -currently not possible to partition multiple disks using preseeding nor to -set up RAID. +currently not possible to partition multiple disks using preseeding. --> ¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥óʬ³ä¤Ë preseed ¤ò»ÈÍѤ¹¤ë¤Î¤Ï¡¢ <classname>partman-auto</classname> ¤Ç¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ëµ¡Ç½¤Ë¸ÂÄꤵ¤ì¤Æ¤¤¤Þ¤¹¡£ @@ -1179,8 +1378,8 @@ set up RAID. ¥Ç¥£¥¹¥¯¥ì¥¤¥¢¥¦¥È¤Ï¡¢¤¢¤é¤«¤¸¤áÄêµÁ¤·¤¿¥ì¥·¥Ô¡¢ ¥ì¥·¥Ô¥Õ¥¡¥¤¥ë¤Ë¤è¤ë¥«¥¹¥¿¥à¥ì¥·¥Ô¡¢ »öÁ°ÀßÄê¥Õ¥¡¥¤¥ë¤Ë½ñ¤¤¤¿¥ì¥·¥Ô¤«¤éÁªÂò¤Ç¤¤Þ¤¹¡£ -¸½ºß¤Î¤È¤³¤í¡¢¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ë preseed ¤òÍѤ¤¤ÆÊ£¿ô¤Î¥Ç¥£¥¹¥¯¤ò³ä¤êÅö¤ë¤³¤È¤ä¡¢ -RAID ¤ÎÀßÄꤹ¤ë¤³¤È¤Ï¤Ç¤¤Þ¤»¤ó¡£ +¸½ºß¤Î¤È¤³¤í¡¢¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ë preseed +¤òÍѤ¤¤ÆÊ£¿ô¤Î¥Ç¥£¥¹¥¯¤ò³ä¤êÅö¤ë¤³¤È¤Ï¤Ç¤¤Þ¤»¤ó¡£ </para> @@ -1415,7 +1614,9 @@ earlier questions. You can optionally add other (local) repositories. #d-i apt-setup/local0/comment string local server # Enable deb-src lines #d-i apt-setup/local0/source boolean true -# URL to the public key of the local repository +# URL to the public key of the local repository; you must provide a key or +# apt will complain about the unauthenticated repository and so the +# sources.list line will be left commented out #d-i apt-setup/local0/key string http://local.server/key </screen></informalexample> |