Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-ganeti
Commits
90fae627
Commit
90fae627
authored
Jun 27, 2008
by
Guido Trotter
Browse files
Allow VNC_PASSWORD_FILE to be rpc-uploaded
What could possibly go wrong? Reviewed-by: iustinp
parent
937f983d
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/backend.py
View file @
90fae627
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment