6,534
edits
Changes
modified to use unified way of mounting the container (ploop and non-ploop, doesn't matter)
Now, rename the existing template cache:
[HN]# mv /vz/template/cache/debian-4.0-i386-minimal.tar.gz{,-old}
Change to VE folder:
[HN]# vzctl mount 555
[HN]# cd /vz/root/555
Now create a new tarball:
Clean up:
[HN]# vzctl umount 555
[HN]# vzctl destroy 555
[HN]# rm -f /etc/vz/conf/555.conf.destroyed