Update Postgres container w/ required starrs pkgs

Streamline creation of database

The user no longer has to configure the database by themself.
This commit is contained in:
Will Nilges 2021-10-05 00:47:26 -04:00
parent 74a0990997
commit c641ba1d1c
7 changed files with 292 additions and 304 deletions

View file

@ -84,7 +84,7 @@ def create_vm_task(user, name, cores, memory, disk, iso):
delete_vm_task(vmid)
return
vm = VM(vmid)
if (eval(app.config['USE_STARRS'])):
if app.config['USE_STARRS']:
logging.info('[{}] Registering in STARRS.'.format(name))
set_job_status(job, 'registering in STARRS')
ip = get_next_ip(starrs, app.config['STARRS_IP_RANGE'])