mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
Move schema to homedir, add more docs
Update configs
This commit is contained in:
parent
33a8cdb523
commit
e3783a4919
6 changed files with 34 additions and 16109 deletions
|
|
@ -196,12 +196,12 @@ def setup_template_task(template_id, name, user, ssh_key, cores, memory):
|
|||
delete_vm_task(vmid)
|
||||
return
|
||||
|
||||
vm = VM(vmid)
|
||||
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'])
|
||||
register_starrs(starrs, name, app.config['STARRS_USER'], vm.get_mac(), ip)
|
||||
vm = VM(vmid)
|
||||
get_vm_expire(db, vmid, app.config['VM_EXPIRE_MONTHS'])
|
||||
logging.info('[{}] Setting CPU and memory.'.format(name))
|
||||
set_job_status(job, 'setting CPU and memory')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue