[lxc-devel] [lxd/master] The fifth argument of proxy add command should be connect and not listen

schkovich on Github lxc-bot at linuxcontainers.org
Fri Jan 26 15:04:48 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 352 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180126/33819f54/attachment.bin>
-------------- next part --------------
From c8816b49aa1ed1bdf1a3908e3f2c2b0cc1ba575c Mon Sep 17 00:00:00 2001
From: Goran Miskovic <schkovich at gmail.com>
Date: Fri, 26 Jan 2018 16:02:20 +0100
Subject: [PATCH] The fifth argument of proxy add command should be connect and
 not listen.

Signed-off-by: Goran Miskovic <schkovich at gmail.com>
---
 doc/containers.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/containers.md b/doc/containers.md
index b5b036e38..9605704ee 100644
--- a/doc/containers.md
+++ b/doc/containers.md
@@ -424,7 +424,7 @@ connect     | string    | -                 | yes       | The address and port t
 bind        | string    | host              | no        | Which side to bind on (host/container)
 
 ```
-lxc config device add <container> <device-name> proxy listen=<type>:<addr>:<port> listen=<type>:<addr>:<port> bind=<host/container>
+lxc config device add <container> <device-name> proxy listen=<type>:<addr>:<port> connect=<type>:<addr>:<port> bind=<host/container>
 ```
 
 ## Instance types


More information about the lxc-devel mailing list