From b438cb2cce33ac727f3b0c24154055e287fead4d Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Mon, 3 Feb 2020 15:30:17 -0600 Subject: seperate container create network options this pr splits off some of the network container create options into a different flag set. the options in question are: --add-host --dns --dns-opt --dns-search --ip --mac-address --network --no-hosts --publish in the future, these options are going to be added to the pod create flags. this makes that transition easier and provides for less code duplication. Signed-off-by: Brent Baude --- cmd/podman/create.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/podman/create.go') diff --git a/cmd/podman/create.go b/cmd/podman/create.go index 01cad9765..73d62bddb 100644 --- a/cmd/podman/create.go +++ b/cmd/podman/create.go @@ -41,6 +41,7 @@ func init() { getCreateFlags(&createCommand.PodmanCommand) flags := createCommand.Flags() + flags.AddFlagSet(getNetFlags()) flags.SetInterspersed(false) flags.SetNormalizeFunc(aliasFlags) } -- cgit v1.2.3-54-g00ecf