From 5d1b933448d22d4eadc229e360430313999187f5 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Thu, 27 May 2021 11:31:25 +0000 Subject: [PATCH] Update 'debian10-LXC.md' --- debian10-LXC.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/debian10-LXC.md b/debian10-LXC.md index c0ac97b..585b8c6 100644 --- a/debian10-LXC.md +++ b/debian10-LXC.md @@ -3,15 +3,17 @@ Install packages and add unprivileged user ``` apt install lxc libvirt0 libpam-cgfs bridge-utils uidmap -useradd -r lxcuser +useradd lxcuser cat /etc/s*id|grep lxcuser ``` Put the following in /etc/default/lxc-net ``` USE_LXC_BRIDGE="true" - -#### /etc/lxc/default.conf +``` + +Put the following in /etc/lxc/default.conf +``` lxc.idmap = u 0 lxc.idmap = g 0 lxc.mount.auto = proc:mixed sys:ro cgroup:mixed