For now the LXC gotta be priviledged to be able to install pytest deps

This commit is contained in:
Alexandre Aubin 2019-10-10 00:24:44 +02:00
parent c480666d9c
commit b27bc5deea

View file

@ -139,6 +139,7 @@ function start_ynhdev()
set -eu set -eu
set -x set -x
sudo lxc launch $BOX-base $BOX sudo lxc launch $BOX-base $BOX
sudo lxc config set $BOX security.privileged true
sudo lxc config device add $BOX ynhdev-shared-folder disk path=/ynh-dev source="$PWD" sudo lxc config device add $BOX ynhdev-shared-folder disk path=/ynh-dev source="$PWD"
set +x set +x