fix containerd config
parent
23cac351c6
commit
e35a3c34c2
|
@ -36,12 +36,8 @@
|
||||||
- name: move it (can't directly create on /etc/containerd for some reason)
|
- name: move it (can't directly create on /etc/containerd for some reason)
|
||||||
command: mv $HOME/config.toml /etc/containerd/config.toml
|
command: mv $HOME/config.toml /etc/containerd/config.toml
|
||||||
|
|
||||||
|
- name: update the containerd config.toml file
|
||||||
- name: modify containerd.toml
|
command: sed -i 's/SystemdCgroup \= false/SystemdCgroup \= true/g' /etc/containerd/config.toml
|
||||||
lineinfile:
|
|
||||||
path: /etc/containerd/config.toml
|
|
||||||
regexp: '^SystemdCgroup ='
|
|
||||||
line: 'SystemdCgroup = true' # fix this shit, its not replacing the correct SystemdCgroup
|
|
||||||
|
|
||||||
- name: turn off swap
|
- name: turn off swap
|
||||||
command: swapoff -a
|
command: swapoff -a
|
||||||
|
|
Loading…
Reference in New Issue