On Tue, Dec 02, 2014 at 06:15:34PM +0900, KATOH Yasufumi wrote:
> Update for commit 67c660d
> 
> Signed-off-by: KATOH Yasufumi <[email protected]>

Acked-by: Stéphane Graber <[email protected]>

> ---
>  doc/ja/lxc-start.sgml.in          |  5 +++--
>  doc/ja/lxc.container.conf.sgml.in | 31 +++++++++++++++++++++++++++++++
>  doc/ja/lxc.sgml.in                |  5 +++--
>  3 files changed, 37 insertions(+), 4 deletions(-)
> 
> diff --git a/doc/ja/lxc-start.sgml.in b/doc/ja/lxc-start.sgml.in
> index 3260972..c0dd872 100644
> --- a/doc/ja/lxc-start.sgml.in
> +++ b/doc/ja/lxc-start.sgml.in
> @@ -94,11 +94,12 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
>      <para>
>        <!--
>        If no command is specified, <command>lxc-start</command> will
> -      use the default
> +      use the command defined in lxc.init_cmd or if not set, the default
>        <command>"/sbin/init"</command> command to run a system
>        container.
>        -->
> -      もし command が指定されない場合は、<command>lxc-start</command> 
> はシステムコンテナを実行するためのコマンドとして、デフォルトで <command>"/sbin/init"</command> を使用します。
> +      もし command が指定されない場合は、<command>lxc-start</command> 
> はシステムコンテナを実行するためのコマンドとして、lxc.init_cmd で設定されたコマンドを使用します。
> +      もし lxc.init_cmd が設定されていない場合は、デフォルトで <command>"/sbin/init"</command> 
> を使用します。
>      </para>
>  
>    </refsect1>
> diff --git a/doc/ja/lxc.container.conf.sgml.in 
> b/doc/ja/lxc.container.conf.sgml.in
> index 579f5d2..dbb23df 100644
> --- a/doc/ja/lxc.container.conf.sgml.in
> +++ b/doc/ja/lxc.container.conf.sgml.in
> @@ -273,6 +273,37 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
>      </refsect2>
>  
>      <refsect2>
> +      <title><!-- Init command -->Init コマンド</title>
> +      <para>
> +        <!--
> +        Sets the command to use as the init system for the containers.
> +
> +        This option is ignored when using lxc-execute.
> +
> +        Defaults to: /sbin/init
> +          -->
> +        コンテナの init として使うコマンドを設定します。
> +        このオプションは lxc-execute では無視されます。
> +        デフォルトは /sbin/init です。
> +      </para>
> +      <variablelist>
> +        <varlistentry>
> +          <term>
> +            <option>lxc.init_cmd</option>
> +          </term>
> +          <listitem>
> +            <para>
> +              <!--
> +                  Absolute path from container rootfs to the binary to use 
> as init.
> +                -->
> +              init として使うバイナリの、コンテナの rootfs からの絶対パスを指定します。
> +            </para>
> +          </listitem>
> +        </varlistentry>
> +      </variablelist>
> +    </refsect2>
> +
> +    <refsect2>
>        <title><!-- Network -->ネットワーク</title>
>        <para>
>          <!--
> diff --git a/doc/ja/lxc.sgml.in b/doc/ja/lxc.sgml.in
> index 6bfd04e..0aa37f0 100644
> --- a/doc/ja/lxc.sgml.in
> +++ b/doc/ja/lxc.sgml.in
> @@ -556,11 +556,12 @@ rootfs
>       command into the container.
>       The pid of the first process is 1. If no command is
>       specified <command>lxc-start</command> will
> -     run <filename>/sbin/init</filename>.
> +     run the command defined in lxc.init_cmd or if not set,
> +     <filename>/sbin/init</filename> .
>          -->
>          <command>lxc-start</command> コマンドは、コンテナ内の特定のコマンドを直接実行します。
>          最初のプロセスの pid が 1 となります。
> -        もし、実行するコマンドが指定されない場合は、<command>lxc-start</command> は 
> <filename>/sbin/init</filename> を実行します。
> +        もし、実行するコマンドが指定されない場合は、<command>lxc-start</command> は lxc.init_cmd 
> で設定されたコマンドを実行します。もし lxc.init_cmd が設定されていない場合は <filename>/sbin/init</filename> 
> を実行します。
>        </para>
>  
>        <para>
> -- 
> 2.1.1
> 
> _______________________________________________
> lxc-devel mailing list
> [email protected]
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

Attachment: signature.asc
Description: Digital signature

_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to