vmremove phase 3
This commit is contained in:
parent
47a7ae2cbf
commit
5ae9ecc575
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ def vmremove(cubeid):
|
||||||
if vm_type == 'lxc':
|
if vm_type == 'lxc':
|
||||||
result = proxobject.nodes(slave_name).lxc(vm_id).delete()
|
result = proxobject.nodes(slave_name).lxc(vm_id).delete()
|
||||||
grid.deletedb(cubeid)
|
grid.deletedb(cubeid)
|
||||||
response = { 'status':'DELETE', 'cube': cubeid, 'hostname': vm_name }
|
response = { 'status':'DELETE', 'cube': cubeid, 'hostname': vm_host }
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue