vmremove phase 3

This commit is contained in:
deflax 2017-09-25 18:00:24 +03:00
parent 47a7ae2cbf
commit 5ae9ecc575

View file

@ -137,7 +137,7 @@ def vmremove(cubeid):
if vm_type == 'lxc':
result = proxobject.nodes(slave_name).lxc(vm_id).delete()
grid.deletedb(cubeid)
response = { 'status':'DELETE', 'cube': cubeid, 'hostname': vm_name }
response = { 'status':'DELETE', 'cube': cubeid, 'hostname': vm_host }
return response