]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
doc: add lxc.environment.{runtime,hooks} in Japanese man page 4584/head
authorKATOH Yasufumi <karma@jazz.email.ne.jp>
Mon, 22 Sep 2025 13:12:53 +0000 (22:12 +0900)
committerKATOH Yasufumi <karma@jazz.email.ne.jp>
Mon, 22 Sep 2025 13:12:53 +0000 (22:12 +0900)
Update for e0290fa

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
doc/ja/lxc.container.conf.sgml.in

index 6461cf2678632dc49f6a42cd6768976f75a50a1c..9e04085d305a5d461564f2c7b1003ffdc0a28777 100644 (file)
 
       <para>
         <!--
-        This configuration parameter can be specified multiple times; once
+        Subkeys are available to narrow the scope of environment variables:
+        <command>lxc.environment.runtime</command> applies only to
+        the container's init process (and all its descendents),
+        and <command>lxc.environment.hooks</command> applies only to hooks.
+        -->
+        サブキーを使用して、環境変数のスコープを絞り込めます:
+        <command>lxc.environment.runtime</command> は、コンテナの init プロセス(とそのすべての子孫)にのみ適用されます。そして、<command>lxc.environment.hooks</command> はフックにのみ適用されます。
+      </para>
+
+      <para>
+        <!--
+        These configuration parameter can be specified multiple times; once
         for each environment variable you wish to configure.
         -->
-        この設定項目は、設定したい環境変数ごとに 1 度ずつ、何度でも指定できます。
+        ã\81\93ã\82\8cã\82\89ã\81®è¨­å®\9aé \85ç\9b®ã\81¯ã\80\81設å®\9aã\81\97ã\81\9fã\81\84ç\92°å¢\83å¤\89æ\95°ã\81\94ã\81¨ã\81« 1 åº¦ã\81\9aã\81¤ã\80\81ä½\95度ã\81§ã\82\82æ\8c\87å®\9aã\81§ã\81\8dã\81¾ã\81\99ã\80\82
       </para>
 
       <variablelist>
           <listitem>
             <para>
               <!--
-              Specify an environment variable to pass into the container.
-              Example:
+              Environment variables applied both to the container init process
+              and to hooks. Example:
               -->
-              コンテナに渡したい環境変数を指定します。
+              環境変数は、コンテナの init プロセスとフックの両方に適用されます。
               例:
             </para>
             <programlisting>
             </programlisting>
           </listitem>
         </varlistentry>
+
+        <varlistentry>
+          <term>
+            <option>lxc.environment.runtime</option>
+          </term>
+          <listitem>
+            <para>
+              <!--
+              Environment variables applied only to the container's init
+              process.
+              -->
+              環境変数はコンテナの init プロセスにのみ適用されます。
+            </para>
+          </listitem>
+        </varlistentry>
+
+        <varlistentry>
+          <term>
+            <option>lxc.environment.hooks</option>
+          </term>
+          <listitem>
+            <para>
+              <!--
+              Environment variables applied only to hooks.
+              -->
+              環境変数はフックにのみ適用されます。
+            </para>
+          </listitem>
+        </varlistentry>
+
       </variablelist>
     </refsect2>