summaryrefslogtreecommitdiff
path: root/kvmd/apps
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-07-23 04:41:54 +0300
committerMaxim Devaev <[email protected]>2022-07-24 05:38:26 +0300
commit2eef9bd26394f5f98f1324012a3c77570e80a7e2 (patch)
tree5aef8e1650bc02b0bb65552a5d5f6d45cfb6eec8 /kvmd/apps
parent06bf0fcd17e58d0a719baed57fca9aa786340237 (diff)
basic msd rw api
Diffstat (limited to 'kvmd/apps')
-rw-r--r--kvmd/apps/kvmd/api/msd.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvmd/apps/kvmd/api/msd.py b/kvmd/apps/kvmd/api/msd.py
index 111aafab..7347bd8c 100644
--- a/kvmd/apps/kvmd/api/msd.py
+++ b/kvmd/apps/kvmd/api/msd.py
@@ -70,6 +70,7 @@ class MsdApi:
for (param, key, validator) in [
("image", "name", (lambda arg: str(arg).strip() and valid_msd_image_name(arg))),
("cdrom", "cdrom", valid_bool),
+ ("rw", "rw", valid_bool),
]
if request.query.get(param) is not None
}