diff options
author | baude <bbaude@redhat.com> | 2017-12-20 15:13:52 -0600 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-12-22 19:23:36 +0000 |
commit | 7f531263e6e41195278f205ad01274487cc1c1e0 (patch) | |
tree | 1e162ee89a8302e16e743ec8d884f62d193ef2ef /cni/97-podman-bridge.conf | |
parent | b08ac1065ca0201cd66cf53bf6fc75470a70f398 (diff) | |
download | podman-7f531263e6e41195278f205ad01274487cc1c1e0.tar.gz podman-7f531263e6e41195278f205ad01274487cc1c1e0.tar.bz2 podman-7f531263e6e41195278f205ad01274487cc1c1e0.zip |
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 <bbaude@redhat.com>
Closes: #161
Approved by: baude
Diffstat (limited to 'cni/97-podman-bridge.conf')
-rw-r--r-- | cni/97-podman-bridge.conf | 15 |
1 files changed, 15 insertions, 0 deletions
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" } + ] + } +} |