summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-27 15:37:58 +0200
committerGitHub <noreply@github.com>2020-04-27 15:37:58 +0200
commit529824ec1e02e9b7ea893bbab35179ef16d4661d (patch)
tree6c2e14c482b3f67013569b66616119f8d8cc2031 /cmd
parent7cb46450fd9cc2a9fc545004431c1d416970e0ed (diff)
parent2fc54facf2f816047e2243547eb26fa9a897d7be (diff)
downloadpodman-529824ec1e02e9b7ea893bbab35179ef16d4661d.tar.gz
podman-529824ec1e02e9b7ea893bbab35179ef16d4661d.tar.bz2
podman-529824ec1e02e9b7ea893bbab35179ef16d4661d.zip
Merge pull request #5997 from giuseppe/fix-pod-create
v2, podman: fix a bunch of "podman pod *" tests
Diffstat (limited to 'cmd')
-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 488843f41..ab87a2fc7 100644
--- a/cmd/podman/common/specgen.go
+++ b/cmd/podman/common/specgen.go
@@ -397,6 +397,7 @@ func FillOutSpecGen(s *specgen.SpecGenerator, c *ContainerCLIOpts, args []string
s.DNSOptions = c.Net.DNSOptions
s.StaticIP = c.Net.StaticIP
s.StaticMAC = c.Net.StaticMAC
+ s.UseImageHosts = c.Net.NoHosts
// deferred, must be added on libpod side
//var ImageVolumes map[string]struct{}