summaryrefslogtreecommitdiffstats
path: root/roles/container_runtime/templates
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-12-19 11:02:28 -0500
committerKenny Woodson <kwoodson@redhat.com>2017-12-19 16:22:37 -0500
commit5c6af565bfae851b493c8b4670d56f69016de3bb (patch)
treee6804ce02706bbd945f34e66e54d2ed1c274c616 /roles/container_runtime/templates
parent7ab8e67bfc62e16466e3fd211fded63f16583403 (diff)
downloadopenshift-5c6af565bfae851b493c8b4670d56f69016de3bb.tar.gz
openshift-5c6af565bfae851b493c8b4670d56f69016de3bb.tar.bz2
openshift-5c6af565bfae851b493c8b4670d56f69016de3bb.tar.xz
openshift-5c6af565bfae851b493c8b4670d56f69016de3bb.zip
Adding support for docker-storage-setup on overlay
Diffstat (limited to 'roles/container_runtime/templates')
-rw-r--r--roles/container_runtime/templates/docker_storage_setup.j212
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/container_runtime/templates/docker_storage_setup.j2 b/roles/container_runtime/templates/docker_storage_setup.j2
new file mode 100644
index 000000000..b056087e0
--- /dev/null
+++ b/roles/container_runtime/templates/docker_storage_setup.j2
@@ -0,0 +1,12 @@
+# Edit this file to override any configuration options specified in
+# /usr/lib/docker-storage-setup/docker-storage-setup.
+#
+# For more details refer to "man docker-storage-setup"
+DEVS={{ container_runtime_docker_storage_setup_device }}
+VG={{ docker_storage_setup_options.vg }}
+DATA_SIZE={{ docker_storage_setup_options.data_size }}
+STORAGE_DRIVER="{{ docker_storage_setup_options.storage_driver }}"
+CONTAINER_ROOT_LV_NAME="{{ docker_storage_setup_options.root_lv_name }}"
+CONTAINER_ROOT_LV_SIZE="{{ docker_storage_setup_options.root_lv_size }}"
+CONTAINER_ROOT_LV_MOUNT_PATH="{{ docker_storage_setup_options.root_lv_mount_path }}"
+EXTRA_STORAGE_OPTIONS="{{ docker_storage_extra_options | join(' ') }}"