mirror of https://github.com/containers/podman.git
Handle hostname flag from client
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
592e7867a3
commit
bc56236102
|
@ -494,6 +494,7 @@ func FillOutSpecGen(s *specgen.SpecGenerator, c *ContainerCLIOpts, args []string
|
|||
// Hostname: c.String("hostname"),
|
||||
//}
|
||||
|
||||
s.Hostname = c.Hostname
|
||||
sysctl := map[string]string{}
|
||||
if ctl := c.Sysctl; len(ctl) > 0 {
|
||||
sysctl, err = util.ValidateSysctls(ctl)
|
||||
|
|
Loading…
Reference in New Issue