The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/1233
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Closes https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1591513. Closes #1076.
From 2c34c8f203006c7ede63fa5b3b1d4fda1afa3010 Mon Sep 17 00:00:00 2001 From: Christian Brauner <christian.brau...@canonical.com> Date: Fri, 14 Oct 2016 14:20:16 +0200 Subject: [PATCH 1/2] tools: fix coding style in lxc_attach Signed-off-by: Christian Brauner <christian.brau...@canonical.com> --- src/lxc/tools/lxc_attach.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lxc/tools/lxc_attach.c b/src/lxc/tools/lxc_attach.c index 23d63a2..51fd536 100644 --- a/src/lxc/tools/lxc_attach.c +++ b/src/lxc/tools/lxc_attach.c @@ -154,7 +154,9 @@ static int my_parser(struct lxc_arguments* args, int c, char* arg) case 'L': args->console_log = arg; break; - case 'f': args->rcfile = arg; break; + case 'f': + args->rcfile = arg; + break; } return 0; From adc9b24992995272f11c12bb308c243aea97ffba Mon Sep 17 00:00:00 2001 From: Christian Brauner <christian.brau...@canonical.com> Date: Fri, 14 Oct 2016 14:20:41 +0200 Subject: [PATCH 2/2] tools: make overlay valid backend So far, users could only create overlay snapshots by specifying -B overlayfs and not with -B overlay. This adds support for -B overlay. Signed-off-by: Christian Brauner <christian.brau...@canonical.com> --- src/lxc/tools/lxc_copy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lxc/tools/lxc_copy.c b/src/lxc/tools/lxc_copy.c index 80cfb27..3e83af6 100644 --- a/src/lxc/tools/lxc_copy.c +++ b/src/lxc/tools/lxc_copy.c @@ -620,6 +620,8 @@ static int my_parser(struct lxc_arguments *args, int c, char *arg) return -1; break; case 'B': + if (strcmp(arg, "overlay") == 0) + arg = "overlayfs"; args->bdevtype = arg; break; case 't':
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel