From 7f531263e6e41195278f205ad01274487cc1c1e0 Mon Sep 17 00:00:00 2001 From: baude Date: Wed, 20 Dec 2017 15:13:52 -0600 Subject: Add default CNI configuration podman needs a pair of configuration files to set up its default network configuration: a bridge and loopback file. Signed-off-by: baude Closes: #161 Approved by: baude --- cni/97-podman-bridge.conf | 15 +++++++++++++++ cni/98-podman-loopback.conf | 4 ++++ 2 files changed, 19 insertions(+) create mode 100644 cni/97-podman-bridge.conf create mode 100644 cni/98-podman-loopback.conf (limited to 'cni') diff --git a/cni/97-podman-bridge.conf b/cni/97-podman-bridge.conf new file mode 100644 index 000000000..27fc096c4 --- /dev/null +++ b/cni/97-podman-bridge.conf @@ -0,0 +1,15 @@ +{ + "cniVersion": "0.3.0", + "name": "podman", + "type": "bridge", + "bridge": "cni0", + "isGateway": true, + "ipMasq": true, + "ipam": { + "type": "host-local", + "subnet": "10.88.0.0/16", + "routes": [ + { "dst": "0.0.0.0/0" } + ] + } +} diff --git a/cni/98-podman-loopback.conf b/cni/98-podman-loopback.conf new file mode 100644 index 000000000..dd6630a85 --- /dev/null +++ b/cni/98-podman-loopback.conf @@ -0,0 +1,4 @@ +{ + "cniVersion": "0.2.0", + "type": "loopback" +} -- cgit v1.2.3-54-g00ecf