mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
launch the container with nesting and privilege
This commit is contained in:
parent
b158fa5f65
commit
e14ee3c653
1 changed files with 1 additions and 4 deletions
|
@ -9,10 +9,7 @@ function rebuild_base_lxc()
|
|||
|
||||
set -x
|
||||
lxc info $LXC_BASE >/dev/null && lxc delete $LXC_BASE --force
|
||||
lxc launch images:debian/$DIST/$ARCH $LXC_BASE
|
||||
lxc config set $LXC_BASE security.privileged true
|
||||
lxc config set $LXC_BASE security.nesting true # Need this for apparmor for some reason
|
||||
lxc restart $LXC_BASE
|
||||
lxc launch images:debian/$DIST/$ARCH $LXC_BASE -c security.privileged=true -c security.nesting=true
|
||||
sleep 5
|
||||
|
||||
IN_LXC="lxc exec $LXC_BASE --"
|
||||
|
|
Loading…
Add table
Reference in a new issue