Skip to content
Snippets Groups Projects
Commit 90fae627 authored by Guido Trotter's avatar Guido Trotter
Browse files

Allow VNC_PASSWORD_FILE to be rpc-uploaded

What could possibly go wrong?

Reviewed-by: iustinp
parent 937f983d
No related branches found
No related tags found
No related merge requests found
......@@ -982,6 +982,7 @@ def UploadFile(file_name, data, mode, uid, gid, atime, mtime):
constants.CLUSTER_CONF_FILE,
constants.ETC_HOSTS,
constants.SSH_KNOWN_HOSTS_FILE,
constants.VNC_PASSWORD_FILE,
]
allowed_files.extend(ssconf.SimpleStore().GetFileList())
if file_name not in allowed_files:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment