[lxc-devel] [lxc/lxc] ef44c2: Add option to rename container to lxc-clone

GitHub noreply at github.com
Tue Aug 4 12:23:44 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: ef44c2f674495acf883ee7a985fb5e68061136e9
      https://github.com/lxc/lxc/commit/ef44c2f674495acf883ee7a985fb5e68061136e9
  Author: Christian Brauner <christianvanbrauner at gmail.com>
  Date:   2015-08-03 (Mon, 03 Aug 2015)

  Changed paths:
    M src/lxc/lxc_clone.c

  Log Message:
  -----------
  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 at gmail.com>


  Commit: 2cfae58575e71da98b0481211a88698f9103c23d
      https://github.com/lxc/lxc/commit/2cfae58575e71da98b0481211a88698f9103c23d
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2015-08-04 (Tue, 04 Aug 2015)

  Changed paths:
    M src/lxc/lxc_clone.c

  Log Message:
  -----------
  Merge pull request #612 from brauner/lxc_rename

Add option to rename container to lxc-clone


Compare: https://github.com/lxc/lxc/compare/b076d08b9032...2cfae58575e7


More information about the lxc-devel mailing list