6,534
edits
Changes
→Preparing for and packing template cache: fix dirs and file names
Now create a cached OS tarball. In the command below, you'll want to replace <arch> with your architecture (i386, amd64, ia64, etc).
[HW]# tar czf /var/lib/vz/template/cache/ubuntu-7.10-<arch>-minimal.tar.gz .
Look at the resulting tarball to see its size is sane:
# ls -lh /vz/template/cache
-rw-r--r-- 1 root root 51M Apr 10 03 53M Nov 15 12:16 debian40 ubuntu-47.010-i386-minimal.tar.gz
== Testing template cache ==