Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Physical to container

30 bytes added, 11:01, 13 October 2006
no edit summary
* You have to edit some files inside a VE. For example, virtual server does not have real ttys, so you have to disable getty in <code>/etc/inittab</code> (i. e. <code>/vz/private/123/etc/inittab</code>). Also, link <code>/etc/mtab</code> to <code>/proc/mounts</code>.
sed -i -e '/getty/d' /vz/private/123/etc/inittab
rm -f /etc/mtab
ln -s /proc/mounts /vz/private/123/etc/mtab
: There might be other adjustments needed.
3
edits