summaryrefslogtreecommitdiff
path: root/kvmd/plugins/msd/otg/__init__.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2023-03-05 17:28:45 +0200
committerMaxim Devaev <[email protected]>2023-03-05 17:28:45 +0200
commit7c7ac38bfed8485fd1928cc03025739b6a407d51 (patch)
tree3ec3bb4ab1050d597dbedfa249ecf6da453944ec /kvmd/plugins/msd/otg/__init__.py
parentb4fa35f05f2d5880b5c655f0be9d3d3871b3ce5f (diff)
new msd fs structure
Diffstat (limited to 'kvmd/plugins/msd/otg/__init__.py')
-rw-r--r--kvmd/plugins/msd/otg/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/msd/otg/__init__.py b/kvmd/plugins/msd/otg/__init__.py
index 13571f3f..52129db5 100644
--- a/kvmd/plugins/msd/otg/__init__.py
+++ b/kvmd/plugins/msd/otg/__init__.py
@@ -37,8 +37,8 @@ from ....yamlconf import Option
from ....validators.basic import valid_bool
from ....validators.basic import valid_number
-from ....validators.os import valid_printable_filename
from ....validators.os import valid_command
+from ....validators.kvm import valid_msd_image_name
from .... import aiotools
from .... import aiohelpers
@@ -170,7 +170,7 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes
], type=valid_command),
"initial": {
- "image": Option("", type=valid_printable_filename, if_empty=""),
+ "image": Option("", type=valid_msd_image_name, if_empty=""),
"cdrom": Option(False, type=valid_bool),
},
}