From fcd95ae926eb10a785d77112219272d7b9c5b494 Mon Sep 17 00:00:00 2001 From: KATOH Yasufumi Date: Fri, 6 Oct 2017 19:40:53 +0900 Subject: [PATCH] doc: Update lxc.{execute,init}.cmd in lxc.container.conf(5) * Add lxc.execute.cmd to Japanese lxc.container.conf(5) * Tweak the description of the "INIT COMMAND" section and lxc.init.cmd in en and ja man pages. Signed-off-by: KATOH Yasufumi --- doc/ja/lxc.container.conf.sgml.in | 27 +++++++++++++++++++-------- doc/lxc.container.conf.sgml.in | 9 +++------ 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/doc/ja/lxc.container.conf.sgml.in b/doc/ja/lxc.container.conf.sgml.in index a82fc93db..525e2d551 100644 --- a/doc/ja/lxc.container.conf.sgml.in +++ b/doc/ja/lxc.container.conf.sgml.in @@ -337,15 +337,25 @@ by KATOH Yasufumi コンテナの init として使うコマンドを設定します。 - このオプションは lxc-execute では無視されます。 - デフォルトは /sbin/init です。 + + + + + + + + + デフォルトで実行するバイナリのコンテナの root からの絶対パスを指定します。これは lxc-execute のための設定です。 + + + + @@ -354,9 +364,10 @@ by KATOH Yasufumi - init として使うバイナリの、コンテナの rootfs からの絶対パスを指定します。 + init として使うバイナリの、コンテナの root からの絶対パスを指定します。これは lxc-start のための設定です。デフォルトは /sbin/init です。 diff --git a/doc/lxc.container.conf.sgml.in b/doc/lxc.container.conf.sgml.in index 3f05e52b6..059942bc9 100644 --- a/doc/lxc.container.conf.sgml.in +++ b/doc/lxc.container.conf.sgml.in @@ -255,10 +255,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Init command Sets the command to use as the init system for the containers. - - This option is ignored when using lxc-execute. - - Defaults to: /sbin/init @@ -268,7 +264,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Absolute path from container rootfs to the binary to run by default. This - mostly makes sense for lxc-execute. + mostly makes sense for lxc-execute. @@ -280,7 +276,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Absolute path from container rootfs to the binary to use as init. + Absolute path from container rootfs to the binary to use as init. This + mostly makes sense for lxc-start. Default is /sbin/init. -- 2.47.2