Переглянути джерело

cri-o: Enable systemd-modules-load if required

If we had to drop the overlay file in /etc/modules-load.d/ then enable
the systemd-modules-load service and make sure it runs.
Steve Milner 7 роки тому
батько
коміт
5e218e1a1d
1 змінених файлів з 6 додано та 0 видалено
  1. 6 0
      roles/docker/tasks/systemcontainer_crio.yml

+ 6 - 0
roles/docker/tasks/systemcontainer_crio.yml

@@ -44,6 +44,12 @@
     - name: Manually modprobe overlay into the kernel
       command: modprobe overlay
 
+    - name: Enable and start systemd-modules-load
+      service:
+        name: systemd-modules-load
+        enabled: yes
+        state: restarted
+
 
 - block: