Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Creating a CentOS 5.0 Template

1 byte added, 10:12, 27 October 2008
no edit summary
#: gpgcheck=1
# Copy '''/etc/vz/dists/centos-4.conf''' to '''/etc/vz/dists/centos-5.0.conf'''.
# Change to the '''/vz/private/50''' folder and then run the command '''gunzip –dc /vz/template/cache/centos-5.0-<ARCH>-<DISTRO>-image.tar.gz | tar –xvf''' to unpack the base image to the folder.
# Make sure you are in the '''/vz/private/50''' folder.
# Edit '''etc/shadow''' and remove the replace the '''root''' password with !! instead of the hashed value.
8
edits