lxc-test-unpriv revision d08363afbb40a7a8f579fe1ce60e40ffeaee5959
0N/A# lxc: linux Container library 0N/A# Serge Hallyn <serge.hallyn@ubuntu.com> 0N/A# This is a test script for unprivileged containers 0N/A# This library is free software; you can redistribute it and/or 0N/A# modify it under the terms of the GNU Lesser General Public 0N/A# License as published by the Free Software Foundation; either 0N/A# version 2.1 of the License, or (at your option) any later version. 0N/A# This library is distributed in the hope that it will be useful, 0N/A# but WITHOUT ANY WARRANTY; without even the implied warranty of 0N/A# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0N/A# Lesser General Public License for more details. 0N/A# You should have received a copy of the GNU Lesser General Public 2362N/A# License along with this library; if not, write to the Free Software 2362N/A# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA lxc.network.link = lxcbr0 lxc.id_map = u 0 910000 9999 lxc.id_map = g 0 910000 9999 env |
awk -F=
'{print $1}' |
while read line;
do export ${
line}=;
done #read -p "c1 created, check it now" x [
"$p1" !=
"-1" ] ||
{ echo "Failed to start container c1"; false; }