Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Creating a CentOS 5.0 Template

2 bytes removed, 12:10, 27 October 2008
no edit summary
# Edit '''etc/shadow''' and remove the replace the '''root''' password with !! instead of the hashed value.
# Edit the '''etc/inittab''' file and comment out the lines that respawn '''/sbin/mingetty''' on '''tty1''' through '''tty6'''. Just put a # at the beginning of the line.
# Remove the '''etc/mtab''' file and then create a symbolic link by typing '''ln –s -s /proc/mounts etc/mtab'''.
# Remove all of the lines from '''etc/fstab''' except for the line that mounts '''/dev/pts'''.
# Edit '''etc/rc.d/rc.sysinit''' and comment out the line that starts '''/sbin/start_udev''' by placing a # at the beginning of the line.
8
edits