bsdci / ioc

libioc command line tool for BSD jail management
Other
16 stars 1 forks source link

only warn about invalid config on list, set and get subcommands #26

Closed gronke closed 5 years ago

gronke commented 5 years ago

When a jail had invalid configuration, it was not possible to edit the settings with the ioc CLI. This enhancement only warns when spotting such occasions for the list, get and set commands. A warning will be printed (with default print-level warn), but the config properties are ignored.

Other commands, such as start and stop, do not allow ignoring invalid configuration properties. The configuration must be sane before it is possible to use them.