summaryrefslogtreecommitdiff
path: root/kvmd/apps/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-10-21 03:40:58 +0300
committerDevaev Maxim <[email protected]>2019-10-21 03:40:58 +0300
commitcae86d930264f26f60bfb8c9ce05c524ed6d56d9 (patch)
tree095508352ecdb4fb3c62a5b32ae6ab73e3bced29 /kvmd/apps/__init__.py
parent7ee3d585e8386ca59ca7e1804a521f4ad9f8e120 (diff)
improved otg msd
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r--kvmd/apps/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py
index 9fd536a5..bf2b6270 100644
--- a/kvmd/apps/__init__.py
+++ b/kvmd/apps/__init__.py
@@ -261,6 +261,11 @@ def _get_config_scheme() -> Dict:
"acm": {
"enabled": Option(True, type=valid_bool),
},
+
+ "drives": {
+ "enabled": Option(False, type=valid_bool),
+ "count": Option(1, type=(lambda arg: valid_number(arg, min=1))),
+ },
},
"ipmi": {