Merge pull request #858 from runcom/fix-add-registry

pkg: storage: fix additional registries
This commit is contained in:
Mrunal Patel 2017-09-07 07:34:57 -07:00 committed by GitHub
commit b13e881a9b
2 changed files with 114 additions and 8 deletions

View file

@ -326,6 +326,19 @@
replace: 'storage_driver = "overlay2"'
name: /etc/crio/crio.conf
backup: yes
- name: run with systemd cgroup manager
replace:
regexp: 'cgroup_manager = "cgroupfs"'
replace: 'cgroup_manager = "systemd"'
name: /etc/crio/crio.conf
backup: yes
- name: add docker.io default registry
lineinfile:
dest: /etc/crio/crio.conf
line: '"docker.io"'
insertafter: 'registries = \['
regexp: 'docker\.io'
state: present
- name: add overlay2 storage opts on RHEL/CentOS
lineinfile:
dest: /etc/crio/crio.conf