summaryrefslogtreecommitdiffstats
path: root/roles/docker-storage-setup/templates
diff options
context:
space:
mode:
authorEduardo Mínguez <edu@redhat.com>2017-10-04 03:31:56 +0200
committerRyan Cook <rcook@redhat.com>2017-10-03 21:31:56 -0400
commitc969394a52c311f1ff5cc2fc669276bc8e2b4e4b (patch)
tree2d2731381aae8334f3a2f80fcc602e138346df8b /roles/docker-storage-setup/templates
parentb1c98274f883a5b98ca82b6f3a4829417352eac9 (diff)
downloadopenshift-c969394a52c311f1ff5cc2fc669276bc8e2b4e4b.tar.gz
openshift-c969394a52c311f1ff5cc2fc669276bc8e2b4e4b.tar.bz2
openshift-c969394a52c311f1ff5cc2fc669276bc8e2b4e4b.tar.xz
openshift-c969394a52c311f1ff5cc2fc669276bc8e2b4e4b.zip
Required variables to create dedicated lv (#766)
* Required variables to create dedicated lv https://bugzilla.redhat.com/show_bug.cgi?id=1490910#c11 * Fixed lint and added distribution to checks
Diffstat (limited to 'roles/docker-storage-setup/templates')
-rw-r--r--roles/docker-storage-setup/templates/docker-storage-setup-dm.j2 (renamed from roles/docker-storage-setup/templates/docker-storage-setup.j2)0
-rw-r--r--roles/docker-storage-setup/templates/docker-storage-setup-overlayfs.j26
2 files changed, 6 insertions, 0 deletions
diff --git a/roles/docker-storage-setup/templates/docker-storage-setup.j2 b/roles/docker-storage-setup/templates/docker-storage-setup-dm.j2
index b5869feff..b5869feff 100644
--- a/roles/docker-storage-setup/templates/docker-storage-setup.j2
+++ b/roles/docker-storage-setup/templates/docker-storage-setup-dm.j2
diff --git a/roles/docker-storage-setup/templates/docker-storage-setup-overlayfs.j2 b/roles/docker-storage-setup/templates/docker-storage-setup-overlayfs.j2
new file mode 100644
index 000000000..4bef865c8
--- /dev/null
+++ b/roles/docker-storage-setup/templates/docker-storage-setup-overlayfs.j2
@@ -0,0 +1,6 @@
+DEVS="{{ docker_dev }}"
+VG="{{ docker_vg }}"
+DATA_SIZE="{{ docker_data_size }}"
+STORAGE_DRIVER=overlay2
+CONTAINER_ROOT_LV_NAME="{{ container_root_lv_name }}"
+CONTAINER_ROOT_LV_MOUNT_PATH="{{ container_root_lv_mount_path }}"