Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 06e5650eaba7182a09bf73b0fa68100f6b43575f https://github.com/lxc/lxc/commit/06e5650eaba7182a09bf73b0fa68100f6b43575f Author: S.Çağlar Onur <cag...@10ur.org> Date: 2013-12-17 (Tue, 17 Dec 2013)
Changed paths: M src/lxc/lxccontainer.c M src/lxc/lxccontainer.h Log Message: ----------- introduce lxcapi_rename for renaming containers lxcapi_rename implemented as a convenience function as lately I find myself in a need to rename a container due to a typo in its name. I could have started over but didn't want to spend more time (to installing extra packages and changing their configuration) on it. c->clone() followed by c->destroy() did the trick for me and I though it could be helpful to the other people, so here it is. Signed-off-by: S.Çağlar Onur <cag...@10ur.org> Signed-off-by: Serge Hallyn <serge.hal...@ubuntu.com>
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel