summaryrefslogtreecommitdiffstats
path: root/roles/container_runtime/templates
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-12-20 09:30:17 -0500
committerGitHub <noreply@github.com>2017-12-20 09:30:17 -0500
commita5de165b8e7113631a30ef0e4a20b5f74db073f0 (patch)
treee617e6e099562437ece02ed432afccb61d6318b8 /roles/container_runtime/templates
parent33450f75b336744615c066a34d7391cc9996af18 (diff)
parent5c6af565bfae851b493c8b4670d56f69016de3bb (diff)
downloadopenshift-a5de165b8e7113631a30ef0e4a20b5f74db073f0.tar.gz
openshift-a5de165b8e7113631a30ef0e4a20b5f74db073f0.tar.bz2
openshift-a5de165b8e7113631a30ef0e4a20b5f74db073f0.tar.xz
openshift-a5de165b8e7113631a30ef0e4a20b5f74db073f0.zip
Merge pull request #6524 from kwoodson/docker_storage_setup_overlay
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(' ') }}"