]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Add the use of 'attach' to lxc-start-ephemeral(1)
authorKATOH Yasufumi <karma@jazz.email.ne.jp>
Wed, 1 Apr 2015 16:56:03 +0000 (01:56 +0900)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 6 Apr 2015 16:12:10 +0000 (12:12 -0400)
Update for commit 8158c05

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
doc/ja/lxc-start-ephemeral.sgml.in
doc/lxc-start-ephemeral.sgml.in

index 310278219fef957d77c2a2f61182bdda57f0b354..3f79c742d2bd4a89e093414aa5dc896d9f2b02e3 100644 (file)
@@ -224,10 +224,12 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
           <para>
             <!--
             Immediately run the provided command in the container.
-            This currently uses ssh (not attach) and is incompatible
-            with daemon mode.
+            This uses attach if the kernel supports it, otherwise uses ssh.
+            This is incompatible with daemon mode.
             -->
-            即座に指定したコマンドをコンテナ内で実行します。現時点では (attach ではなく) ssh を使用します。そしてデーモンモードと両方を指定することはできません。
+            即座に指定したコマンドをコンテナ内で実行します。
+            コマンドを実行する際、カーネルがサポートしている場合は lxc-start-ephemeral は attach を使います。
+            カーネルがサポートしていない場合は ssh を使います。
           </para>
         </listitem>
       </varlistentry>
index 1b72c01f86d5145569c5d04992e6125811dd43a5..6f3a325162e015790c3328246b7abefe154a5530 100644 (file)
@@ -183,8 +183,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
         <listitem>
           <para>
             Immediately run the provided command in the container.
-            This currently uses ssh (not attach) and is incompatible
-            with daemon mode.
+            This uses attach if the kernel supports it, otherwise uses ssh.
+            This is incompatible with daemon mode.
           </para>
         </listitem>
       </varlistentry>