Parcourir la source

Merge pull request #12036 from yrobla/master

Enable persistency on journal
OpenShift Merge Robot il y a 5 ans
Parent
commit
a1f0fc61e4
1 fichiers modifiés avec 9 ajouts et 0 suppressions
  1. 9 0
      roles/openshift_node/tasks/install.yml

+ 9 - 0
roles/openshift_node/tasks/install.yml

@@ -70,3 +70,12 @@
   systemd:
     name: "crio"
     enabled: yes
+
+# persistent storage in journal is needed for MachineConfig to work
+- name: Enable persistent storage on journal
+  ini_file:
+    dest: "/etc/systemd/journald.conf"
+    section: Journal
+    option: Storage
+    value: "persistent"
+    no_extra_spaces: yes