diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2020-12-16 20:28:07 +0100 |
---|---|---|
committer | Paul Holzinger <paul.holzinger@web.de> | 2020-12-16 20:59:45 +0100 |
commit | edf0e918e32f4f109329881310b798f3b2c7defb (patch) | |
tree | 56006ac73fd1462c5c7141f1b67567cb3cb19d83 /utils | |
parent | bacb2fc526dba7214e3c8420eccc5cf22bbb1a29 (diff) | |
download | podman-edf0e918e32f4f109329881310b798f3b2c7defb.tar.gz podman-edf0e918e32f4f109329881310b798f3b2c7defb.tar.bz2 podman-edf0e918e32f4f109329881310b798f3b2c7defb.zip |
Always add the default gateway to the cni config file
`podman network create` should always add a gateway to the cni config.
If no gateway is given use the first ip in the subnet. CNI does not require
the gateway field but we need it because of network inspect.
This worked with previous version but was dropped in Commit(e7a72d72fd59).
Fixes #8748
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions