Преглед на файлове

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: