summaryrefslogtreecommitdiff
path: root/kvmd/apps/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-03-26 06:26:56 +0300
committerDevaev Maxim <[email protected]>2020-03-26 13:17:07 +0300
commit8fd2a597bbbaa9efa544a0166d0e218d61db4005 (patch)
treee4217d55fcbcf1121c61108a1a0044673eb49b15 /kvmd/apps/__init__.py
parent94b779c5868a20f46c1d78c56fd19e01285a4e25 (diff)
vncauth
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r--kvmd/apps/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py
index 9af30205..82ca1fa7 100644
--- a/kvmd/apps/__init__.py
+++ b/kvmd/apps/__init__.py
@@ -345,5 +345,12 @@ def _get_config_scheme() -> Dict:
"unix": Option("", type=valid_abs_path, only_if="!port", unpack_as="unix_path"),
"timeout": Option(5.0, type=valid_float_f01),
},
+
+ "auth": {
+ "vncauth": {
+ "enabled": Option(False, type=valid_bool),
+ "file": Option("/etc/kvmd/vncpasswd", type=valid_abs_file, unpack_as="path"),
+ },
+ },
},
}