Changes

Jump to: navigation, search

Gentoo template creation

183 bytes added, 11:18, 15 March 2011
Edit /etc/inittab
We need only <code>/proc</code> to be mounted at boot time.
== Edit /etc/inittab and /etc/init.d/halt.sh ==
Edit <code>/vz/private/777/etc/inittab</code> and put a hash mark (#) at the beginning of the lines containing:
<pre>c?:1235:respawn:/sbin/agetty 38400 tty? linux</pre>
 
Edit <code>/vz/private/777/etc/init.d/halt.sh</code> and put a hash mark (#) at the beginning of the lines containing:
 
<pre>sulogin -t 10 /dev/console</pre>
This prevents <code>getty</code> and login from starting on ttys that do not exist in containers.
Anonymous user

Navigation menu