diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-04-27 12:56:22 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-04-27 12:58:01 +0200 |
commit | 408d1328e22182830a15b8c462ec8652a42ef74a (patch) | |
tree | 9e402c6cebbbe321a3ce82bf3cf2b760e880dd3c /cmd | |
parent | e88b2dc0c9ba6ddadb6bf31f652e1ad41468f58f (diff) | |
download | podman-408d1328e22182830a15b8c462ec8652a42ef74a.tar.gz podman-408d1328e22182830a15b8c462ec8652a42ef74a.tar.bz2 podman-408d1328e22182830a15b8c462ec8652a42ef74a.zip |
spec: propagate --no-hosts to specgen
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/common/specgen.go | 1 |
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{} |