This commit is contained in:
deflax 2016-11-27 02:25:12 +02:00
parent 45a4f722f8
commit ba78b2354f

View file

@ -97,7 +97,7 @@ def vmcreate(req):
'clientname': req['clientname'],
'clientemail': req['clientemail'],
'recipe': req['vps_recipe'],
'iso9660': req['vps_iso9660'],
'iso9660': 'ubuntu-16.04.1-server-amd64.iso',
'ipv4': ipv4_list,
'macaddr': macaddr }
@ -121,7 +121,7 @@ def vmcreate(req):
cores=req['vps_cpu'],
memory=req['vps_mem'],
virtio0='file=lvm:' + image_name,
ide1='skyblue:iso/' + req['vps_iso9660'] + ',media=cdrom',
ide1='skyblue:iso/' + deploy['iso9660'] + ',media=cdrom',
net0='virtio,bridge=vmbr0,macaddr=' + macaddr,
onboot=1,
description=description)