This shows you the differences between two versions of the page.
| openvz:updating-debian-template [2019-06-15 09:38] kokkez | openvz:updating-debian-template [2019-06-15 09:47] (current) kokkez | ||
|---|---|---|---|
| Line 106: | Line 106: | ||
| Create a new tarball | Create a new tarball | ||
| <code bash> | <code bash> | ||
| - | cd /vz/private/1097 | + | vzctl mount 1097 | 
| + | cd /vz/root/1097 | ||
| tar --numeric-owner -czf /vz/template/cache/debian-5.0-i386-minimal.tar.gz . | tar --numeric-owner -czf /vz/template/cache/debian-5.0-i386-minimal.tar.gz . | ||
| cd | cd | ||
| Line 114: | Line 115: | ||
| Clean up | Clean up | ||
| <code bash> | <code bash> | ||
| + | vzctl umount 1097 | ||
| vzctl destroy 1097 | vzctl destroy 1097 | ||
| rm -f /etc/vz/conf/1097.conf.destroyed | rm -f /etc/vz/conf/1097.conf.destroyed | ||