mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 12:37:35 +00:00
tests/no-new-privs: Don't mess with /etc/lxc
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
3d8949788b
commit
ecf1f1207b
@ -36,11 +36,13 @@ cleanup() {
|
||||
|
||||
trap cleanup EXIT SIGHUP SIGINT SIGTERM
|
||||
|
||||
if [ ! -d /etc/lxc ]; then
|
||||
mkdir -p /etc/lxc/
|
||||
cat > /etc/lxc/default.conf << EOF
|
||||
lxc.net.0.type = veth
|
||||
lxc.net.0.link = lxcbr0
|
||||
EOF
|
||||
fi
|
||||
|
||||
ARCH=i386
|
||||
if type dpkg >/dev/null 2>&1; then
|
||||
|
Loading…
Reference in New Issue
Block a user