]> git.proxmox.com Git - mirror_lxc.git/commit
Fix several nagging bugs in lxc-destroy
authorSerge Hallyn <serge.hallyn@canonical.com>
Mon, 23 Jan 2012 18:59:14 +0000 (12:59 -0600)
committerDaniel Lezcano <daniel.lezcano@free.fr>
Sun, 26 Feb 2012 09:44:40 +0000 (10:44 +0100)
commit76e08ff8a09abd43994d120e415f43a2a1ef4d90
tree37d3c3920d092d2dae92e7bb83701b2e8e726e3b
parentd08ba6ec05510e95eca791b19731f4a241d7f675
Fix several nagging bugs in lxc-destroy

Don't delete a running container.  If it's running, abort the delete
unless a new '-f' (force) flag is given, in which case, stop it first.

Handle the case where we can't find $rootfs in config

Fix broken detection of lvm backing store

Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/lxc-destroy.in