diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/common.go | 2 | ||||
-rw-r--r-- | cmd/podman/create.go | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/cmd/podman/common.go b/cmd/podman/common.go index f647f9c4d..ef7463773 100644 --- a/cmd/podman/common.go +++ b/cmd/podman/common.go @@ -250,7 +250,7 @@ var createFlags = []cli.Flag{ }, cli.StringFlag{ Name: "mac-address", - Usage: "Container MAC address (e.g. 92:d0:c6:0a:29:33)", + Usage: "Container MAC address (e.g. 92:d0:c6:0a:29:33), not currently supported", }, cli.StringFlag{ Name: "memory, m", diff --git a/cmd/podman/create.go b/cmd/podman/create.go index f147081d4..6fe68ebab 100644 --- a/cmd/podman/create.go +++ b/cmd/podman/create.go @@ -305,6 +305,10 @@ func parseCreateOpts(ctx context.Context, c *cli.Context, runtime *libpod.Runtim return nil, err } + if c.String("mac-address") != "" { + return nil, errors.Errorf("--mac-address option not currently supported") + } + imageID := "" inputCommand = c.Args()[1:] |