[lxc-devel] [lxc/lxc] 444640: archlinux template: fix lxc.root for btrfs backend

GitHub noreply at github.com
Tue May 13 19:29:43 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 44464003ee219f4f74f43cef550a504c27bb16a7
      https://github.com/lxc/lxc/commit/44464003ee219f4f74f43cef550a504c27bb16a7
  Author: Edvinas Klovas <edvinas at pnd.io>
  Date:   2014-05-13 (Tue, 13 May 2014)

  Changed paths:
    M templates/lxc-archlinux.in

  Log Message:
  -----------
  archlinux template: fix lxc.root for btrfs backend

when using btrfs backend lxc-create first creates rootfs in /usr/lib/lxc/rootfs
directory before moving it to /var/lib/lxc or other directory supplied by the
command line. Archlinux template relied in $rootfs_path which made containers
created with btrfs backend have lxc.rootfs set to /usr/lib/lxc/rootfs. By using
$path instead of $rootfs_path we make sure that lxc.rootfs is always correct.

Signed-off-by: Edvinas Klovas <edvinas at pnd.io>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>




More information about the lxc-devel mailing list