mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-02-14 14:01:51 +00:00
Override boot order defaults on vm creation
This commit is contained in:
parent
b02c6bfbc9
commit
d44698a959
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ def create_vm_task(user, name, cores, memory, disk, iso):
|
|||
register_starrs(starrs, name, app.config['STARRS_USER'], vm.get_mac(), ip)
|
||||
set_job_status(job, 'setting VM expiration')
|
||||
get_vm_expire(db, vmid, app.config['VM_EXPIRE_MONTHS'])
|
||||
vm.set_boot_order(['Hard Disk', 'CD-ROM', 'Network'])
|
||||
logging.info('[{}] VM successfully provisioned.'.format(name))
|
||||
set_job_status(job, 'complete')
|
||||
|
||||
|
|
Loading…
Reference in a new issue