From 2eef9bd26394f5f98f1324012a3c77570e80a7e2 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sat, 23 Jul 2022 04:41:54 +0300 Subject: basic msd rw api --- kvmd/apps/kvmd/api/msd.py | 1 + 1 file changed, 1 insertion(+) (limited to 'kvmd/apps') 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 } -- cgit v1.2.3