Commit 1dc94b4a by Stéphane Graber Committed by GitHub

Merge pull request #1233 from brauner/2016-10-14/allow_overlay

tools: make overlay a valid backend for lxc-copy
parents 33fc3fad adc9b249
...@@ -154,7 +154,9 @@ static int my_parser(struct lxc_arguments* args, int c, char* arg) ...@@ -154,7 +154,9 @@ static int my_parser(struct lxc_arguments* args, int c, char* arg)
case 'L': case 'L':
args->console_log = arg; args->console_log = arg;
break; break;
case 'f': args->rcfile = arg; break; case 'f':
args->rcfile = arg;
break;
} }
return 0; return 0;
......
...@@ -620,6 +620,8 @@ static int my_parser(struct lxc_arguments *args, int c, char *arg) ...@@ -620,6 +620,8 @@ static int my_parser(struct lxc_arguments *args, int c, char *arg)
return -1; return -1;
break; break;
case 'B': case 'B':
if (strcmp(arg, "overlay") == 0)
arg = "overlayfs";
args->bdevtype = arg; args->bdevtype = arg;
break; break;
case 't': case 't':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment