aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/common
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-01 18:27:16 +0200
committerGitHub <noreply@github.com>2020-05-01 18:27:16 +0200
commit226e0da6fe12bf8a023f67ce6cebacd54ec65fdc (patch)
treea42bfedb583873d9d9e9d8830b6f688b138e0d08 /cmd/podman/common
parent49107a5a2ee98793b4ecfaa0e1a6cacfdf5ccdd0 (diff)
parent98e71583a4e7a0bf1f4a00fcab8bafa4915eb14a (diff)
downloadpodman-226e0da6fe12bf8a023f67ce6cebacd54ec65fdc.tar.gz
podman-226e0da6fe12bf8a023f67ce6cebacd54ec65fdc.tar.bz2
podman-226e0da6fe12bf8a023f67ce6cebacd54ec65fdc.zip
Merge pull request #6057 from baude/v2networking
v2networking enable commands
Diffstat (limited to 'cmd/podman/common')
-rw-r--r--cmd/podman/common/specgen.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/common/specgen.go b/cmd/podman/common/specgen.go
index 7250f88bb..33cba30cd 100644
--- a/cmd/podman/common/specgen.go
+++ b/cmd/podman/common/specgen.go
@@ -403,6 +403,7 @@ func FillOutSpecGen(s *specgen.SpecGenerator, c *ContainerCLIOpts, args []string
}
s.ShmSize = &shmSize
}
+ s.CNINetworks = c.Net.CNINetworks
s.HostAdd = c.Net.AddHosts
s.UseImageResolvConf = c.Net.UseImageResolvConf
s.DNSServers = c.Net.DNSServers