Commit 454c0165 by Serge Hallyn Committed by Stéphane Graber

lxc-test-unpriv: don't clear out /etc/lxc/lxc-usernet

parent 57f7174b
...@@ -73,7 +73,7 @@ deluser $TUSER && rm -Rf $HDIR || true ...@@ -73,7 +73,7 @@ deluser $TUSER && rm -Rf $HDIR || true
useradd $TUSER useradd $TUSER
mkdir -p $HDIR 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 sed -i '/^lxcunpriv:/d' /etc/subuid /etc/subgid
usermod -v 910000-919999 -w 910000-919999 $TUSER usermod -v 910000-919999 -w 910000-919999 $TUSER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment