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)
case 'L':
args->console_log = arg;
break;
case 'f': args->rcfile = arg; break;
case 'f':
args->rcfile = arg;
break;
}
return 0;
......
......@@ -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':
......
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