[lxc-devel] [lxc/lxc] 2b425d: Rename all lxc.conf options to lxc.<key>

GitHub noreply at github.com
Fri Jan 10 16:16:23 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 2b425d512a6637335c7a3d3b687ce115107f041b
      https://github.com/lxc/lxc/commit/2b425d512a6637335c7a3d3b687ce115107f041b
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-01-10 (Fri, 10 Jan 2014)

  Changed paths:
    M src/lxc/lxc.functions.in
    M src/lxc/lxc_config.c
    M src/lxc/utils.c

  Log Message:
  -----------
  Rename all lxc.conf options to lxc.<key>

This is a first step in bringing the lxc.conf configfile in line with
the container's format.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: 9e8be7811548b3b321b183df139980e463c14f38
      https://github.com/lxc/lxc/commit/9e8be7811548b3b321b183df139980e463c14f38
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-01-10 (Fri, 10 Jan 2014)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  Add lxc.default_config to LXC's own config

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: 593e84786e2b4709059989bee489deab5c923779
      https://github.com/lxc/lxc/commit/593e84786e2b4709059989bee489deab5c923779
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-01-10 (Fri, 10 Jan 2014)

  Changed paths:
    M src/lua-lxc/core.c
    M src/lxc/arguments.c
    M src/lxc/bdev.c
    M src/lxc/cgroup.c
    M src/lxc/commands.c
    M src/lxc/conf.c
    M src/lxc/log.c
    M src/lxc/lxc_config.c
    M src/lxc/lxccontainer.c
    M src/lxc/lxccontainer.h
    M src/lxc/start.c
    M src/lxc/utils.c
    M src/lxc/utils.h
    M src/python-lxc/lxc.c
    M src/python-lxc/lxc/__init__.py
    M src/tests/snapshot.c

  Log Message:
  -----------
  Re-organize API for global lxc.conf config

Instead of having one function for each possible key in lxc.conf which
doesn't really scale and requires an API update for every new key,
switch to a generic lxc_get_global_config_item() function which takes a
key name as argument.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: dad87e3bd14e9bfb0ae415db192856c7b6095980
      https://github.com/lxc/lxc/commit/dad87e3bd14e9bfb0ae415db192856c7b6095980
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-01-10 (Fri, 10 Jan 2014)

  Changed paths:
    M src/lxc/lxc_create.c
    M src/lxc/lxccontainer.c
    M src/tests/containertests.c
    M src/tests/destroytest.c
    M src/tests/saveconfig.c
    M src/tests/startone.c

  Log Message:
  -----------
  Drop usage of LXC_DEFAULT_CONFIG in our code

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/d7768b909605...dad87e3bd14e


More information about the lxc-devel mailing list