diff options
author | Devaev Maxim <[email protected]> | 2020-03-26 06:26:56 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-03-26 13:17:07 +0300 |
commit | 8fd2a597bbbaa9efa544a0166d0e218d61db4005 (patch) | |
tree | e4217d55fcbcf1121c61108a1a0044673eb49b15 /kvmd/apps/__init__.py | |
parent | 94b779c5868a20f46c1d78c56fd19e01285a4e25 (diff) |
vncauth
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r-- | kvmd/apps/__init__.py | 7 |
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"), + }, + }, }, } |