]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxcapi_create: don't delete if container rootfs already exists
authorSheng Yong <shyodx@gmail.com>
Sun, 27 Oct 2013 06:37:46 +0000 (14:37 +0800)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 30 Oct 2013 15:15:26 +0000 (10:15 -0500)
commita69aad27ad5a217a4f58f525fb34f764390dd474
tree540ded3a45a8d0aca935dafc71cea08f9f42267e
parent86b3688b267e7722ebd8c0ea4dafe5646139502c
lxcapi_create: don't delete if container rootfs already exists

If lxc.rootfs is specified, we believe rootfs is ready. lxc-start will
check this later. Return true, because the container is created.

Signed-off-by: Sheng Yong <shyodx@gmail.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/lxccontainer.c