mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-04 04:41:14 +00:00
lxc-test-unpriv: don't clear out /etc/lxc/lxc-usernet
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
parent
91e93c71c7
commit
9a64d3cf9f
@ -73,7 +73,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