[Lxc-users] [PATCH 9/9] lxc-destroy: wait until the container is stopped
    Serge Hallyn 
    serge.hallyn at canonical.com
       
    Mon May 28 03:04:40 UTC 2012
    
    
  
Quoting Derek Simkowiak (derek at simkowiak.net):
> >/the subsequent rm -rf $rootfs/
> 
>     Serge,
>     Could you elaborate on this?  The lxc-destroy is not supposed to
> rm -rf the root filesystem, is it?
> 
>     What if I had data in there I wanted to copy to a new LXC rootfs
> I'm building?
> 
>     Unless I have misunderstood something, doing an rm -rf is a
> horrible idea.  Virt-Manager and VirtualBox do not remove your .vmdk
> disk image when you "destroy" a virtual machine.
In libvirt, 'destroy' means shut down.  In lxc, stop means shut down and
destroy means delete.
    
    
More information about the lxc-users
mailing list