Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] conf: introduce lxc.rootfs.managed #2435

Merged
merged 3 commits into from Aug 30, 2018

Commits on Jul 31, 2018

  1. conf: introduce lxc.rootfs.managed

    This introduces a new config key lxc.rootfs.managed which can be used to
    indicate whether this LXC instance is managing the container storage. If LXC is
    not managing the storage then LXC will not modify the container storage.
    For example, an API call to c->destroy(c) will then run any destroy hooks but
    will not destroy the actual rootfs (Unless, of course, the hook does so behind
    LXC's back.).
    
    Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
    CC: Wolfgang Bumiller <w.bumiller@proxmox.com>
    CC: Stéphane Graber <stgraber@ubuntu.com>
    CC: Serge Hallyn <serge@hallyn.com>
    CC: 2xsec <dh48.jeong@samsung.com>
    Christian Brauner committed Jul 31, 2018
    Copy the full SHA
    6e54330 View commit details
    Browse the repository at this point in the history
  2. tests: cleanup get_item.c

    Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
    Christian Brauner committed Jul 31, 2018
    Copy the full SHA
    2a6d08c View commit details
    Browse the repository at this point in the history
  3. tests: add lxc.rootfs.managed test

    Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
    Christian Brauner committed Jul 31, 2018
    Copy the full SHA
    6e0045b View commit details
    Browse the repository at this point in the history