Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to rename container to lxc-clone
This commit adds an -R, --rename option to lxc-clone to rename a container. As c->rename calls do_lxcapi_rename() which in turn calls do_lxcapi_clone() it seemed best to implement it in lxc-clone rather than lxc-snapshot which also calls do_lxcapi_clone(). Some additional unification regarding the usage of return vs exit() in main() was done. Signed-off-by: Christian Brauner <christianvanbrauner@gmail.com>
- Loading branch information
Showing
1 changed file
with
32 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters