diff options
author | Steve Milner <smilner@redhat.com> | 2017-07-19 10:22:40 -0400 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2017-08-03 17:20:52 +0200 |
commit | 941b8905feb30f2537360b002ae4b9a457b0f3e2 (patch) | |
tree | 00282dd92a46d7300405dc318933606e2b5dfcea /roles/docker/templates/overlay.conf.j2 | |
parent | c66d51f519acf2958a378c109750b86620e32122 (diff) | |
download | openshift-941b8905feb30f2537360b002ae4b9a457b0f3e2.tar.gz openshift-941b8905feb30f2537360b002ae4b9a457b0f3e2.tar.bz2 openshift-941b8905feb30f2537360b002ae4b9a457b0f3e2.tar.xz openshift-941b8905feb30f2537360b002ae4b9a457b0f3e2.zip |
cri-o: Ensure overlay is available
Some distro releases may not have overlay loaded into the kernel. This
change looks for overlay via lsmod and, if it isn't already there,
uses modprobe to load it in and then drops a load config into
/etc/modules-load.d/overlay.conf.
Diffstat (limited to 'roles/docker/templates/overlay.conf.j2')
-rw-r--r-- | roles/docker/templates/overlay.conf.j2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/docker/templates/overlay.conf.j2 b/roles/docker/templates/overlay.conf.j2 new file mode 100644 index 000000000..782f46c2e --- /dev/null +++ b/roles/docker/templates/overlay.conf.j2 @@ -0,0 +1,2 @@ +### {{ ansible_managed }} +overlay |