mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 10:12:24 +00:00
default kmsg symlinking to on, and document lxc.kmsg
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
parent
7e0e1d941d
commit
2f3f41d0d5
@ -553,6 +553,25 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|||||||
</variablelist>
|
</variablelist>
|
||||||
</refsect2>
|
</refsect2>
|
||||||
|
|
||||||
|
<refsect2>
|
||||||
|
<title>Enable kmsg symlink</title>
|
||||||
|
<para>
|
||||||
|
Enable creating /dev/kmsg as symlink to /dev/console. This defaults to 1.
|
||||||
|
</para>
|
||||||
|
<variablelist>
|
||||||
|
<varlistentry>
|
||||||
|
<term>
|
||||||
|
<option>lxc.kmsg</option>
|
||||||
|
</term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Set this to 0 to disable /dev/kmsg symlinking.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
|
</refsect2>
|
||||||
|
|
||||||
<refsect2>
|
<refsect2>
|
||||||
<title>Mount points</title>
|
<title>Mount points</title>
|
||||||
<para>
|
<para>
|
||||||
|
@ -2068,6 +2068,7 @@ struct lxc_conf *lxc_conf_init(void)
|
|||||||
new->console.name[0] = '\0';
|
new->console.name[0] = '\0';
|
||||||
new->maincmd_fd = -1;
|
new->maincmd_fd = -1;
|
||||||
new->rootfs.mount = default_rootfs_mount;
|
new->rootfs.mount = default_rootfs_mount;
|
||||||
|
new->kmsg = 1;
|
||||||
lxc_list_init(&new->cgroup);
|
lxc_list_init(&new->cgroup);
|
||||||
lxc_list_init(&new->network);
|
lxc_list_init(&new->network);
|
||||||
lxc_list_init(&new->mount_list);
|
lxc_list_init(&new->mount_list);
|
||||||
|
Loading…
Reference in New Issue
Block a user