Skip to content

Commit

Permalink
lxc-test-unpriv: don't clear out /etc/lxc/lxc-usernet
Browse files Browse the repository at this point in the history
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
  • Loading branch information
hallyn committed Oct 8, 2014
1 parent 91e93c7 commit 9a64d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/lxc-test-unpriv
Expand Up @@ -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
Expand Down

0 comments on commit 9a64d3c

Please sign in to comment.