From aeb9c6e99456eb31af742bb2ee024ead5ba361d8 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Thu, 5 Oct 2017 17:07:00 -0500 Subject: [PATCH] The ZFS root name needs a default When using the ZFS storage type the lxc_container_zfs_root_name needs to be defined. This change simply sets the option by default. Change-Id: I866eebaf878d387479922bab4160a4427df5b8ac Signed-off-by: Kevin Carter --- defaults/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index 84f6e2e2..a28f4713 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -53,6 +53,9 @@ lxc_container_cache_path: "/var/cache/lxc/download" # copy-on-write backing stored, the base container can be set. lxc_container_base_name: "{{ lxc_cache_map.distro }}-{{ lxc_cache_map.release }}-{{ lxc_cache_map.arch }}" +# Set the default zfs root name +lxc_container_zfs_root_name: "pool/lxc" + # lxc container net network lxc_net_bridge: lxcbr0 lxc_net_bridge_port: none