On 02/07/2013 11:42 PM, Christoph Willing wrote: > > > On 08/02/2013, at 8:37 AM, Papp Tamas <tom...@martos.bme.hu> wrote: > >> hi All, >> >> Actually there was already a topic about this, but I don't really remember >> the result, because with >> lxc v0.7 the rootfs was removed only if it existed in /var/lib/lxc . >> >> If I use v0.9 it's removed anyway during the lxc-destroy process. Why is >> that? >> >> >> First I think it would be a great idea if before the remove step there would >> be !!! RED ALERT !!!, >> which can warn the user, what it does, as it works differently than in the >> version before. >> This is quite dagerous this way. >> >> >> Second, I suggest a to make it a non-default behaviour, like: >> >> lxc-destroy [-r|--remove] -n container >> >> >> >> Actually why does it remove the rootfs? What would be the appropriate way to >> modify a container >> configuration if not 'modify config -> lxc-destroy -> lxc-start'? > > How about: > lxc-stop -> modify config -> lxc-start
It would be even simpler. Anything just do not erase data:) tamas ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users