Editing Gentoo template creation
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 109: | Line 109: | ||
Edit <code>/vz/private/1001/etc/inittab</code> and put a hash mark (#) at the beginning of the lines containing: | Edit <code>/vz/private/1001/etc/inittab</code> and put a hash mark (#) at the beginning of the lines containing: | ||
− | <pre> | + | <pre>c?:1235:respawn:/sbin/agetty 38400 tty? linux</pre> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </pre> | ||
Edit <code>/vz/private/1001/etc/init.d/halt.sh</code> and put a hash mark (#) at the beginning of the lines containing: | Edit <code>/vz/private/1001/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> | <pre>sulogin -t 10 /dev/console</pre> | ||
− | |||
− | |||
This prevents <code>getty</code> and login from starting on ttys that do not exist in containers. | This prevents <code>getty</code> and login from starting on ttys that do not exist in containers. |