mirror of
https://github.com/containers/podman.git
synced 2025-06-20 09:03:43 +08:00
spec: propagate --no-hosts to specgen
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -397,6 +397,7 @@ func FillOutSpecGen(s *specgen.SpecGenerator, c *ContainerCLIOpts, args []string
|
|||||||
s.DNSOptions = c.Net.DNSOptions
|
s.DNSOptions = c.Net.DNSOptions
|
||||||
s.StaticIP = c.Net.StaticIP
|
s.StaticIP = c.Net.StaticIP
|
||||||
s.StaticMAC = c.Net.StaticMAC
|
s.StaticMAC = c.Net.StaticMAC
|
||||||
|
s.UseImageHosts = c.Net.NoHosts
|
||||||
|
|
||||||
// deferred, must be added on libpod side
|
// deferred, must be added on libpod side
|
||||||
//var ImageVolumes map[string]struct{}
|
//var ImageVolumes map[string]struct{}
|
||||||
|
Reference in New Issue
Block a user