]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc_clone.c: Allow size subfixes for -L parameter
authorzoolook <nbensa+lxcusers@gmail.com>
Thu, 11 Jul 2013 23:38:02 +0000 (20:38 -0300)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 12 Jul 2013 15:48:29 +0000 (10:48 -0500)
commitae13ae0853a246119ddaf9c8cc6d128a21a8988c
tree1f16a3650733567b3a87840f8ba3637a24e692d7
parent283678ed2ccd88a6ba57fcb28516311adcdb6fac
lxc_clone.c: Allow size subfixes for -L parameter

lxc-clone ignores size subfixes (K, M, G) when using -L parameter. The
following is a quick patch to allow, for example, lxc-clone -L 10G.

Signed-off-by: Norberto Bensa <nbensa@gmail.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/lxc_clone.c