Validate input for [magnum] docker_storage_driver
The option accepts only specific values. Define choices to reject anything unsupported. Change-Id: Ib214ed314aea1827357c1ead948721400e6ba1bd
This commit is contained in:
parent
450943795b
commit
22272488bc
@ -39,7 +39,8 @@ MagnumGroup = [
|
||||
'publicURL', 'adminURL', 'internalURL'],
|
||||
help="The endpoint type to use for the coe service."),
|
||||
cfg.StrOpt("docker_storage_driver",
|
||||
help="Docker storage driver. Supported: devicemapper, overlay"),
|
||||
choices=['devicemapper', 'overlay'],
|
||||
help="Docker storage driver."),
|
||||
cfg.StrOpt("image_id",
|
||||
default="fedora-coreos-latest",
|
||||
help="Image id to be used for ClusterTemplate."),
|
||||
|
Loading…
Reference in New Issue
Block a user