lxc-test-unpriv revision 42e5c9878f0d20b3e9682ef441afed2f0228b298
1479N/A# lxc: linux Container library 919N/A# Serge Hallyn <serge.hallyn@ubuntu.com> 919N/A# This is a test script for unprivileged containers 919N/A# This library is free software; you can redistribute it and/or 919N/A# modify it under the terms of the GNU Lesser General Public 919N/A# License as published by the Free Software Foundation; either 919N/A# version 2.1 of the License, or (at your option) any later version. 919N/A# This library is distributed in the hope that it will be useful, 919N/A# but WITHOUT ANY WARRANTY; without even the implied warranty of 919N/A# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 919N/A# Lesser General Public License for more details. 919N/A# You should have received a copy of the GNU Lesser General Public 919N/A# License along with this library; if not, write to the Free Software 919N/A# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 0N/A# This test assumes an Ubuntu host 493N/A echo "ERROR: Must run as root." 0N/Alxc.network.link = lxcbr0 1056N/Alxc.id_map = u 0 910000 9999 1056N/Alxc.id_map = g 0 910000 9999 1479N/A# Copy the download template cache if available [
"$p1" !=
"-1" ] ||
{ echo "Failed to start container c1"; false; }[
"$p1" !=
"-1" ] ||
{ echo "Failed to start container c2"; false; }