mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2026-03-28 19:05:50 +00:00
lxc-test-apparmor-mount: don't clear out /etc/lxc/lxc-usernet
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
parent
e2ef635e68
commit
efdca59e49
@ -86,7 +86,7 @@ deluser $TUSER && rm -Rf $HDIR || true
|
||||
useradd $TUSER
|
||||
|
||||
mkdir -p $HDIR
|
||||
echo "$TUSER veth lxcbr0 2" > /etc/lxc/lxc-usernet
|
||||
echo "$TUSER veth lxcbr0 2" >> /etc/lxc/lxc-usernet
|
||||
sed -i '/^lxcunpriv:/d' /etc/subuid /etc/subgid
|
||||
|
||||
usermod -v 910000-919999 -w 910000-919999 $TUSER
|
||||
|
||||
Loading…
Reference in New Issue
Block a user