6,534
edits
Changes
→Preparing for and packing template cache: use --numeric-owner option for tar
Now create a cached OS tarball. In the command below, you'll want to replace <tt>i386</tt> with your architecture (i386, amd64, ia64, etc).
sudo tar --numeric-owner -zcf /vz/template/cache/debian-4.0-i386-minimal.tar.gz .
Look at the resulting tarball to see its size is sane: