]> git.ipfire.org Git - thirdparty/lxc.git/commit
archlinux template: fix lxc.root for btrfs backend
authorEdvinas Klovas <edvinas@pnd.io>
Sat, 10 May 2014 14:47:52 +0000 (16:47 +0200)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 13 May 2014 19:28:22 +0000 (15:28 -0400)
commit44464003ee219f4f74f43cef550a504c27bb16a7
treeea4a53809095efda531d831df5ad377fd69be651
parent5f2ea8cfcb8ccd9bbb7cf18e1e260044f3f6dcaf
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@pnd.io>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
templates/lxc-archlinux.in