Changes

Jump to: navigation, search

Debian template creation

257 bytes removed, 15:59, 19 May 2015
m
Reverted edits by Boernie (talk) to last revision by Kir
Go to the VE directory:
cd /vz/private/777
 
For newer OpenVZ kernel and [[ploop]] VE: (mount VE)
mkdir /mnt/new_template
mount -t ploop /vz/private/777/root.hdd/DiskDescriptor.xml /mnt/new_template
cd /mnt/new_template
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-5.0-i386-minimal.tar.gz .
 
For newer OpenVZ kernel and [[ploop]] VE: (unmount VE)
umount /mnt/template
Look at the resulting tarball to see its size is sane:

Navigation menu