-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Pavel,
you really want to destroy a containers private directory on reinstall? Think about snapshots, they are stored in the private directory! For example, I want to snapshot a container, reinstall it for testing things and then want to restore a previous snapshot because the thing I wanted to test did not work. It would be better to just mount the filesystem of the container, delete the content within it and extract the .tar.gz file into it. Instead of deleting the content, you could also just mount the ploop device to /dev/ploopXXX, remove the partition and recreate it, then mount and extract the .tar.gz file. On 11/28/2014 08:28 PM, Pavel Odintsov wrote: > Hello, folks! > > Please take a look on my patch for vzctl reinstall ability. It's > very useful because reinstalling of already created ploop container > is a real pain. > > Thank you! > > > > _______________________________________________ Devel mailing list > [email protected] https://lists.openvz.org/mailman/listinfo/devel > - -- Best regards Kevin Holly - [email protected] - http://hallowe.lt/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJUeSGKAAoJELAaqP3QtzpM2V8H/j/4UicgYpC2fogad6s3K+Ky 9pDPMgp/W7AbkTEgbyaSbJa0k0IvAAOxWi/JLX+PwoncvlEK6caWfpC3VH6WUFy7 cftPA6viaGVazT43GG0DmDWpizaz2WzSJffrltp20RQAg9LkuJwTmcGnJMJzfk47 0bJlxPhHbox0HYMQLlQ+9cE53/l7eLMhnmSzuJRaxwJn0YWoj6KF1MoaGHXOx9TL CWh9Jh6hZ0l91TaxbXNKf9ADVXMxZbAuHEBmpWVGqbN4GMe/J1g5pZezMONqlkGD WIyf5tDjpc9jqviNhylAVmoeosJU6pFOew61dgajGwmyfpD4Yk7fO/HdrPPLqFY= =IRkv -----END PGP SIGNATURE----- _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
