ソースを参照

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: