mirror of https://github.com/containers/podman.git
We don't currently support --mac-address
Make this clear in the docs and Command. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #1138 Approved by: mheon
This commit is contained in:
parent
07fe4e51cb
commit
153d33814d
|
@ -250,7 +250,7 @@ var createFlags = []cli.Flag{
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "mac-address",
|
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{
|
cli.StringFlag{
|
||||||
Name: "memory, m",
|
Name: "memory, m",
|
||||||
|
|
|
@ -305,6 +305,10 @@ func parseCreateOpts(ctx context.Context, c *cli.Context, runtime *libpod.Runtim
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if c.String("mac-address") != "" {
|
||||||
|
return nil, errors.Errorf("--mac-address option not currently supported")
|
||||||
|
}
|
||||||
|
|
||||||
imageID := ""
|
imageID := ""
|
||||||
|
|
||||||
inputCommand = c.Args()[1:]
|
inputCommand = c.Args()[1:]
|
||||||
|
|
|
@ -332,6 +332,8 @@ Remember that the MAC address in an Ethernet network must be unique.
|
||||||
The IPv6 link-local address will be based on the device's MAC address
|
The IPv6 link-local address will be based on the device's MAC address
|
||||||
according to RFC4862.
|
according to RFC4862.
|
||||||
|
|
||||||
|
Not currently supported
|
||||||
|
|
||||||
**-m**, **--memory**=""
|
**-m**, **--memory**=""
|
||||||
|
|
||||||
Memory limit (format: <number>[<unit>], where unit = b, k, m or g)
|
Memory limit (format: <number>[<unit>], where unit = b, k, m or g)
|
||||||
|
|
|
@ -346,6 +346,8 @@ Remember that the MAC address in an Ethernet network must be unique.
|
||||||
The IPv6 link-local address will be based on the device's MAC address
|
The IPv6 link-local address will be based on the device's MAC address
|
||||||
according to RFC4862.
|
according to RFC4862.
|
||||||
|
|
||||||
|
Not currently supported
|
||||||
|
|
||||||
**-m**, **--memory**=""
|
**-m**, **--memory**=""
|
||||||
|
|
||||||
Memory limit (format: <number>[<unit>], where unit = b, k, m or g)
|
Memory limit (format: <number>[<unit>], where unit = b, k, m or g)
|
||||||
|
|
Loading…
Reference in New Issue