Merge pull request #57 from artlog/master

support symlinks within ynh-dev path
This commit is contained in:
Alexandre Aubin 2020-05-21 15:36:53 +02:00 committed by GitHub
commit 6a1c891d74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,7 +146,7 @@ function start_ynhdev()
then
sudo lxc config set $BOX security.nesting true # Need this for buster because it is using apparmor
fi
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="$(readlink -f $(pwd))"
set +x
info "Now attaching to the container"
else