]> 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>
Fri, 10 Apr 2015 15:28:53 +0000 (11:28 -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 eca2a8bef3acfb183935c82964c607e9b47981a1..14cd06187843f2093eb26bc5e4d8899171d3683c 100644 (file)
@@ -209,10 +209,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 d37ecf5d801d45345e90621efb077ca9a4e80a15..785d8fa5c61df14e5053c4f135f3cf9eeb1e9b99 100644 (file)
@@ -171,8 +171,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>