Changes

Jump to: navigation, search

Updating Debian template

303 bytes added, 05:49, 19 May 2015
Packing a new template cache
Now, rename the existing template cache:
[HN]# mv /vz/template/cache/debian-4.0-i386-minimal.tar.gz{,-old}
 
Change to VE folder:
[HN]# cd /vz/private/555
 
For newer OpenVZ kernel and [[ploop]] VE: (mount VE)
[HN]# mkdir /mnt/new_template
[HN]# mount -t ploop /vz/private/555/root.hdd/DiskDescriptor.xml /mnt/new_template
[HN]# cd /mnt/new_template
Now create a new tarball:
[HN]# cd /vz/private/555
[HN]# tar --numeric-owner -czf /vz/template/cache/debian-4.0-i386-minimal.tar.gz .
 
For newer OpenVZ kernel and [[ploop]] VE: (unmount VE)
[HN]# umount /mnt/template
Clean up:
Anonymous user

Navigation menu