rancher / old-vm

(OBSOLETE) Package and Run Virtual Machines as Docker Containers
Apache License 2.0
645 stars 133 forks source link

nicely remove vm-image volume and vnc file when container is removed #53

Closed feliksik closed 8 years ago

feliksik commented 8 years ago

When deleting a ranchervm machine, the container volume (containing qcow image) and the VNC file in /tmp/rancher/vm/$containerid are left orphaned/dangling. Patch fixes that.

ibuildthecloud commented 8 years ago

LGTM