send vnc teardown commands to proxstar-vnc

This commit is contained in:
Jordan Rodgers 2018-04-04 15:30:19 -04:00
parent 03baef5be0
commit 8808389b46
3 changed files with 23 additions and 4 deletions

View file

@ -199,6 +199,6 @@ def setup_template_task(template_id, name, user, password, cores, memory):
def cleanup_vnc_task():
requests.post(
'https://proxstar.csh.rit.edu/console/cleanup',
"https://{}/console/cleanup".format(app.config['SERVER_NAME']),
data={'token': app.config['VNC_CLEANUP_TOKEN']},
verify=False)