diff options
author | Matthew Heon <mheon@redhat.com> | 2020-05-08 17:58:00 -0400 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2020-05-08 18:00:42 -0400 |
commit | 8238b7e70688e637d58305287a19e4080f619587 (patch) | |
tree | 5b533f6a5ab5668391ae564bad5ed691604753a2 /cmd/podman/system/unshare.go | |
parent | c57c560d9014b38040df8529f09208ba7743f794 (diff) | |
download | podman-8238b7e70688e637d58305287a19e4080f619587.tar.gz podman-8238b7e70688e637d58305287a19e4080f619587.tar.bz2 podman-8238b7e70688e637d58305287a19e4080f619587.zip |
Ensure `podman inspect` output for NetworkMode is right
I realized that setting NetworkMode to private when we are making
a network namespace but not configuring it with CNI or Slirp is
wrong; that's considered `--net=none` not `--net=private`. At the
same time, realized that we actually store whether Slirp is in
use, so we can be more specific than just "default" and instead
say slirp4netns or bridge.
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'cmd/podman/system/unshare.go')
0 files changed, 0 insertions, 0 deletions