Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Creating a CentOS 5.0 Template

16 bytes added, 10:49, 19 October 2009
use --numeric-owner option for tar
#: /sys/*
#: /usr/src/*
## Now, tar the OS file up by typing: '''tar --numeric-owner –czvf /tmp/centos-5.0-<ARCH>-<DISTRO>-image.tar.gz –X /tmp/exclude /''' where <'''ARCH'''> represents the system architecture ('''i386''' or
#: '''x86_64''') and <'''DISTRO'''> represents the distribution (default, minimal, etc.).
## Now transfer the file over to the OpenVZ server into '''/vz/template/cache''' folder.