Changes

Jump to: navigation, search

Updating Debian template

83 bytes added, 16:02, 19 May 2015
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:
[HN]# cd /vz/private/555 [HN]# tar --numeric-owner -czf /vz/template/cache/debian-4.0-i386-minimal.tar.gz .
Clean up:
[HN]# vzctl umount 555
[HN]# vzctl destroy 555
[HN]# rm -f /etc/vz/conf/555.conf.destroyed

Navigation menu