Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Physical to container

19 bytes added, 16:08, 28 October 2010
m
/etc/inittab: Change sed to comment out, not nuke in case you ever want to reverse etc.
A container 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>).
  sed -i -e 's/^[0-9].*getty.*tty/d#&/g' /vz/private/123/etc/inittab
=== /etc/mtab ===
14
edits