Remove configuration for cni0 bridge
By default podman configures cni0 bridge that uses 10.88.0.0/16. As we use host networking and the subnet range may conflict with other networks, it's good to remove it. Change-Id: I9b03a16a82fc04ffd069ae4e2eb3fcd301d67ba9
This commit is contained in:
parent
87bc72a37c
commit
25d063197a
@ -60,6 +60,14 @@ outputs:
|
||||
package:
|
||||
name: podman
|
||||
state: latest
|
||||
- name: Remove default cni config for cni0
|
||||
copy:
|
||||
dest: /etc/cni/net.d/87-podman-bridge.conflist
|
||||
content: ''
|
||||
force: yes
|
||||
- name: Delete cni0 interface if exists
|
||||
command: ip link delete cni0
|
||||
ignore_errors: True
|
||||
- name: configure insecure registries /etc/containers/registries.conf
|
||||
ini_file:
|
||||
path: /etc/containers/registries.conf
|
||||
@ -72,3 +80,11 @@ outputs:
|
||||
- name: Install podman packages on upgrade if missing
|
||||
when: step|int == 3
|
||||
package: name=podman state=latest
|
||||
- name: Remove default cni config for cni0
|
||||
copy:
|
||||
dest: /etc/cni/net.d/87-podman-bridge.conflist
|
||||
content: ''
|
||||
force: yes
|
||||
- name: Delete cni0 interface if exists
|
||||
command: ip link delete cni0
|
||||
ignore_errors: True
|
||||
|
Loading…
Reference in New Issue
Block a user