Commit c19b8525 authored by Jonathon Duerig's avatar Jonathon Duerig

Use vm container id not pc vnode id when destroying.

parent 0c667e78
......@@ -1233,7 +1233,7 @@ sub vz_vnodeDestroy {
mysystem("lvremove $LVMDEBUGOPTS -f /dev/openvz/$vnode_id");
}
}
mysystem("$VZCTL $VZDEBUGOPTS destroy $vnode_id");
mysystem("$VZCTL $VZDEBUGOPTS destroy $vmid");
return -1
if ($?);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment