[lxc-devel] [lxd/master] Bugfixes

stgraber on Github lxc-bot at linuxcontainers.org
Mon Nov 21 22:20:34 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 301 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20161121/b67e8ba9/attachment.bin>
-------------- next part --------------
From 13155790f605dc4e09972ed81530de8a4e0ed753 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Mon, 21 Nov 2016 17:19:09 -0500
Subject: [PATCH 1/2] doc: Exec recording needs an API extension
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 doc/rest-api.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/rest-api.md b/doc/rest-api.md
index a8f5946..a017863 100644
--- a/doc/rest-api.md
+++ b/doc/rest-api.md
@@ -733,7 +733,7 @@ Input (run bash):
         "command": ["/bin/bash"],       # Command and arguments
         "environment": {},              # Optional extra environment variables to set
         "wait-for-websocket": false,    # Whether to wait for a connection before starting the process
-        "record-output": false,         # Whether to store stdout and stderr (only valid with wait-for-websocket set to false)
+        "record-output": false,         # Whether to store stdout and stderr (only valid with wait-for-websocket=false) (requires API extension container_exec_recording)
         "interactive": true,            # Whether to allocate a pts device instead of PIPEs
         "width": 80,                    # Initial width of the terminal (optional)
         "height": 25,                   # Initial height of the terminal (optional)

From 090e2ecc9986848d7ca279502d199037a2c8e974 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Mon, 21 Nov 2016 17:19:41 -0500
Subject: [PATCH 2/2] doc: Fix escaping
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 doc/api-extensions.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/api-extensions.md b/doc/api-extensions.md
index a15a2b0..18209b2 100644
--- a/doc/api-extensions.md
+++ b/doc/api-extensions.md
@@ -145,7 +145,7 @@ Adds the following to the REST API:
  * PUT of certificate entries
  * PATCH of certificate entries
 
-## container\_exec\_signal_handling
+## container\_exec\_signal\_handling
 Adds support /1.0/containers/<name>/exec for forwarding signals sent to the
 client to the processes executing in the container. Currently SIGTERM and
 SIGHUP are forwarded. Further signals that can be forwarded might be added


More information about the lxc-devel mailing list